Skip to content

Commit

Permalink
restrict github faux workflows to only running on files explicitly li…
Browse files Browse the repository at this point in the history
…sted in their paths list by ignoring all other files

- we only want the faux workflows to run when the explicitly listed
  files are modified AND only those files are modified

- we don't want the faux workflows to execute in parallel to the non
  faux workflows because then the branch protection rules will always
  be meet
  • Loading branch information
k-rister committed Oct 18, 2023
1 parent ba9ee59 commit e4dfd2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/faux-crucible-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches: [ master ]
paths:
- !** # ignore all files other than the ones listed below
- LICENSE
- '**.md'
- .github/workflows/faux-unittest.yaml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/faux-unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches: [ master ]
paths:
- !** # ignore all files other than the ones listed below
- LICENSE
- '**.md'
- .github/workflows/faux-unittest.yaml
Expand Down

0 comments on commit e4dfd2a

Please sign in to comment.