Skip to content

Commit

Permalink
Update auto-close-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullah-wn authored Jan 24, 2025
1 parent c11d2e6 commit e2ffa42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/auto-close-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
echo "Response Body:"
cat "$response_body"
if [[ "$http_status" == "204" ]]; then
echo "PR author $GITHUB_ACTOR is a member of $ORGANIZATION. No action needed."
exit 0
else
echo "PR author $GITHUB_ACTOR is not a member of $ORGANIZATION. Closing PR."
# Log the response from the comment creation
Expand Down

0 comments on commit e2ffa42

Please sign in to comment.