Skip to content

Commit

Permalink
re-introduce the paths requirements in the ruby workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-krogh committed Nov 21, 2022
1 parent 53ba22a commit 76ceb49
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ruby-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: "Ruby: Build"

on:
push:
# No path requirement on branch pushes, so the cache is more effective.
paths:
- "ruby/**"
- .github/workflows/ruby-build.yml
- .github/actions/fetch-codeql/action.yml
- codeql-workspace.yml
branches:
- main
- "rc/*"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ruby-qltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: "Ruby: Run QL Tests"

on:
push:
# no path requirement on branch pushes, so the cache is more effective.
paths:
- "ruby/**"
- .github/workflows/ruby-build.yml
- .github/actions/fetch-codeql/action.yml
- codeql-workspace.yml
branches:
- main
- "rc/*"
Expand Down

0 comments on commit 76ceb49

Please sign in to comment.