Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only run nix on push events and if the word is in the commit message #950

Open
wants to merge 1 commit into
base: coq-8.16
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/nix-action-coq-8.16-macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
jobs:
coq:
needs: []
if: ${{ contains(github.event.head_commit.message, 'nix') }}
runs-on: macos-latest
concurrency:
group: ${{ github.workflow }}-MacOS-coq-${{ github.event_name }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -173,14 +174,11 @@ jobs:
--argstr job "metacoq"
name: Nix CI for bundle coq-8.16
'on':
pull_request:
paths:
- .github/workflows/**
pull_request_target:
types:
- opened
- synchronize
- reopened
branches-ignore: "*"
types: []
branches:
- dontrun
push:
branches:
- master
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/nix-action-coq-8.16-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
jobs:
coq:
needs: []
if: ${{ contains(github.event.head_commit.message, 'nix') }}
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-Ubuntu-coq-${{ github.event_name }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -173,14 +174,8 @@ jobs:
--argstr job "metacoq"
name: Nix CI for bundle coq-8.16
'on':
pull_request:
paths:
- .github/workflows/**
pull_request_target:
types:
- opened
- synchronize
- reopened
branches-ignore: "*"
push:
branches:
- master
Expand Down