Skip to content

Commit

Permalink
fix: adding fix for pr pull (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Jan 8, 2024
1 parent c56d058 commit 3a86521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
shell: bash
run: |
pr=$(\
curl -sL -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ inputs.token }}" \
curl -sL -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository }}/commits/${{ github.event.after }}/pulls \
https://api.github.com/repos/${{ github.repository }}/commits/${{ github.event.workflow_run.head_sha }}/pulls \
| jq .[0].number
)
if [ -z "${pr}" ]
Expand Down

0 comments on commit 3a86521

Please sign in to comment.