Skip to content

Commit

Permalink
Change cherry-pick command syntax to avoid unwanted triggers of the w…
Browse files Browse the repository at this point in the history
…orkflow.
  • Loading branch information
micaeljtoliveira committed Aug 1, 2024
1 parent 871e1d5 commit ec3759d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/automatic-cherry-pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# Ideally we want all pull requests opened from a given command to be correct and successfull, so that
# developers don't have to reissue a cherry-pick command for a subset of the commits/branches.
# Therefore, we do all possible sanity checks in this job, before any pull request is opened in subsequent jobs.
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, 'cherry-pick')
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '!cherry-pick')
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit ec3759d

Please sign in to comment.