Skip to content

Commit

Permalink
triggers builds if github event is release
Browse files Browse the repository at this point in the history
recent changes to bypass CI builds when
code unrelated changes happen broke
the release process, because the release
jobs have those bypassed builds as required.

this changes the bypass condition so that
they run if the event that triggered
GitHub Actions was a release
  • Loading branch information
vroldanbet committed Jun 3, 2024
1 parent d13016e commit 64d2724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/authzed-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
node-version: [18, 20, 21]
needs: "paths-filter"
if: |
needs.paths-filter.outputs.codechange == 'true'
needs.paths-filter.outputs.codechange == 'true' || github.event_name == 'release'
steps:
- uses: actions/checkout@v4
- uses: "authzed/action-spicedb@v1"
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
node-version: [18, 20, 21]
needs: "paths-filter"
if: |
needs.paths-filter.outputs.codechange == 'true'
needs.paths-filter.outputs.codechange == 'true' || github.event_name == 'release'
steps:
- uses: actions/checkout@v4
- uses: "authzed/action-spicedb@v1"
Expand Down

0 comments on commit 64d2724

Please sign in to comment.