Skip to content

Commit

Permalink
CI: fix if for update-version job
Browse files Browse the repository at this point in the history
  • Loading branch information
donhardman committed Jan 24, 2025
1 parent 9dc4fa7 commit be8f762
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ env:
jobs:
update-version:
if: >
github.event_name == 'push' && github.ref == 'refs/heads/main' ||
(
github.event_name == 'workflow_run' &&
github.event.workflow_run.conclusion == 'success' &&
github.ref == 'refs/heads/main'
) ||
github.event_name == 'pull_request' && contains(
github.event.pull_request.labels.*.name, 'pack'
)
Expand Down

0 comments on commit be8f762

Please sign in to comment.