Skip to content

Commit 83d83d1

Browse files
authored
Add support for multiple PR numbers to GDIT action (#58)
1 parent 5ad2f14 commit 83d83d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-docker-image-tags/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ runs:
7373
-H "Accept: application/vnd.github+json" \
7474
-H "X-GitHub-Api-Version: 2022-11-28" \
7575
/repos/$GITHUB_REPOSITORY/commits/$SHA/pulls \
76-
| jq -r ".[].number"
76+
| jq -r ".[].number" | head -n 1
7777
)
7878
7979
echo "PR number is '$PR_NUMBER'."

0 commit comments

Comments
 (0)