We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8108c6 commit a2f3666Copy full SHA for a2f3666
1 file changed
.github/workflows/stage-3-build-images-devtest.yaml
@@ -65,7 +65,7 @@ jobs:
65
GH_TOKEN: ${{ github.token }}
66
run: |
67
# Find the PR associated with the current commit SHA
68
- PR_NUM_TAG=$(gh pr list --sha ${{ github.sha }} --state all --json number --jq '.[0].number')
+ PR_NUM_TAG=$(gh api repos/${{ github.repository }}/commits/${{ github.sha }}/pulls --jq '.[0].number')
69
70
if [ -z "$PR_NUM_TAG" ]; then
71
echo "No PR found for this tag push."
@@ -114,6 +114,7 @@ jobs:
114
pull-requests: read
115
id-token: write
116
packages: write
117
+ needs: [get-functions, get-pr-number]
118
outputs:
119
DOTNET_BASE_IMAGE: ${{ steps.set-image-tags.outputs.DOTNET_BASE_IMAGE }}
120
FUNCTION_BASE_IMAGE: ${{ steps.set-image-tags.outputs.FUNCTION_BASE_IMAGE }}
0 commit comments