Skip to content

Commit

Permalink
Do not run label check from merge queue
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed Feb 13, 2025
1 parent 4b884bb commit d41e095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
egress-policy: audit

- name: Check PR label
if: github.event.pull_request.user.login != 'dependabot'
if: ${{ github.event.pull_request.user.login != 'dependabot' && github.event_name != 'merge_group' }}
run: |
LABEL_NAME="changelog:"
if [[ $(curl -s "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}" | jq -r '.labels[].name' | grep -c "^$LABEL_NAME") -eq 0 ]]; then
Expand Down

0 comments on commit d41e095

Please sign in to comment.