Skip to content

Commit

Permalink
pr alerts: use 'merged' instead of 'closed'
Browse files Browse the repository at this point in the history
  • Loading branch information
danphilibin committed Sep 18, 2024
1 parent 0f37f4e commit aefa60a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/github-pr-alerts-workflow/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
ACTION="ready for review"
elif [[ "${ACTION}" == "reopened" ]]; then
ACTION="reopened"
elif [[ "${ACTION}" == "closed" && "${{ github.event.pull_request.merged }}" == "true" ]]; then
ACTION="merged"
fi
ESCAPED_TITLE=$(echo '${{ github.event.pull_request.title }}' | jq -rRs '.')
Expand Down

0 comments on commit aefa60a

Please sign in to comment.