Skip to content

Commit

Permalink
fix: only run release_pr.yml workflow against release branch pattern
Browse files Browse the repository at this point in the history
The release_pr.yml workflow is triggered manually using workflow_dispatch, and on pull request synchronize/closed activities. It is running unexpectedly against other pull requests to master, like hotfixes. Since it currently does not need to run automatically against pull requests to master since we create release PRs using workflow_dispatch, this change sets it to only run on pull requests matching the release branch naming pattern.
  • Loading branch information
vinmassaro authored Dec 3, 2024
1 parent f0fe360 commit b382a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- synchronize
- closed
branches:
- master
- v[0-9]+
workflow_dispatch:
env:
YALESITES_BUILD_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }}
Expand Down

0 comments on commit b382a15

Please sign in to comment.