Skip to content

Commit

Permalink
hotfix: block_merge check
Browse files Browse the repository at this point in the history
  • Loading branch information
axeII committed May 1, 2024
1 parent c0497f1 commit 029bc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/block_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
if [[ $(git diff --name-only HEAD^ HEAD) =~ .github/workflows/block_merge.yml ]]; then
echo "has_hold_tag=false" >> $GITHUB_ENV
else
pr_tags=$(gh pr view ${{ github.event.pull_request.number }} --json labels --jq '[.[].name] | join(" ")')
pr_tags=$(gh pr view ${{ github.event.pull_request.number }} --json labels --jq '.labels[].name')
if [[ $pr_tags =~ hold ]]; then
echo "has_hold_tag=true" >> $GITHUB_ENV
else
Expand Down

0 comments on commit 029bc0a

Please sign in to comment.