Skip to content

Commit

Permalink
It's an if block, not a case block
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-claudia authored Nov 7, 2024
1 parent d2b0fe7 commit 705fd64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reject-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if [[ "$GITHUB_EVENT_NAME" != "pull_request_target" ]]; then
echo "::error::This action must only be run on 'pull_request_target' events"
exit 1
esac
fi
gh pr close --repo "$GITHUB_REPOSITORY" "$PR_NUMBER" --comment "$MESSAGE" --reason 'not planned' &&
gh pr lock --repo "$GITHUB_REPOSITORY" "$PR_NUMBER" --reason 'resolved'
env:
Expand Down

0 comments on commit 705fd64

Please sign in to comment.