Skip to content

Commit

Permalink
Add support for multiple PR numbers to GDIT action (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandrenkov authored Nov 9, 2023
1 parent 5ad2f14 commit 83d83d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-docker-image-tags/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/$GITHUB_REPOSITORY/commits/$SHA/pulls \
| jq -r ".[].number"
| jq -r ".[].number" | head -n 1
)
echo "PR number is '$PR_NUMBER'."
Expand Down

0 comments on commit 83d83d1

Please sign in to comment.