Skip to content

Commit

Permalink
Skip notify-downstream if PR has appropriate label (#5115)
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz authored Apr 23, 2024
1 parent 6fcbee6 commit ec3f004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/notify-downstream-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "merged=$merged" >> $GITHUB_OUTPUT
id: vars
- name: Post PR closed event, if the close was a merge
if: steps.vars.outputs.merged == 'true'
if: steps.vars.outputs.merged == 'true' && ! contains(github.event.pull_request.labels.*.name, 'skip-notify-downstream')
run: |
jq '.' "${GITHUB_EVENT_PATH}"
# Get what we want from the pull request event, craft a
Expand Down

0 comments on commit ec3f004

Please sign in to comment.