Skip to content

Commit

Permalink
debug the pr approval workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzm committed Nov 7, 2024
1 parent 8d7b9ed commit cf8583f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr-approvals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
env:
BODY: ${{ github.event.pull_request.body }}
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_NUMBER: ${{ github.event.number }}
run: |
echo "Event is: "
echo "${{ toJSON(github.event) }}"
cat <<EOF
${{ toJSON(github.event) }}
EOF
echo "PR number is $PR_NUMBER"
echo "$BODY" | egrep -qsi '^disable-check:.*\<approval-count\>'
if [[ $? -ne 0 ]]; then
Expand Down

0 comments on commit cf8583f

Please sign in to comment.