|
24 | 24 | pull-requests: write |
25 | 25 | steps: |
26 | 26 | - name: Download PR metadata |
27 | | - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 |
| 27 | + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
28 | 28 | with: |
29 | 29 | name: pr-metadata |
30 | 30 | run-id: ${{ github.event.workflow_run.id }} |
|
39 | 39 | echo "preview_url=$(cat pr-metadata/preview_url)" >> "$GITHUB_OUTPUT" |
40 | 40 |
|
41 | 41 | - name: Comment deployment in progress |
42 | | - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 |
| 42 | + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 |
43 | 43 | with: |
44 | 44 | script: | |
45 | 45 | const prNumber = parseInt('${{ steps.metadata.outputs.pr_number }}', 10); |
|
74 | 74 | } |
75 | 75 |
|
76 | 76 | - name: Download build output |
77 | | - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 |
| 77 | + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
78 | 78 | with: |
79 | 79 | name: build-output |
80 | 80 | run-id: ${{ github.event.workflow_run.id }} |
|
90 | 90 |
|
91 | 91 | - name: Comment deployment complete |
92 | 92 | if: success() |
93 | | - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 |
| 93 | + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 |
94 | 94 | with: |
95 | 95 | script: | |
96 | 96 | const prNumber = parseInt('${{ steps.metadata.outputs.pr_number }}', 10); |
@@ -119,7 +119,7 @@ jobs: |
119 | 119 |
|
120 | 120 | - name: Comment deployment failed |
121 | 121 | if: failure() |
122 | | - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 |
| 122 | + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 |
123 | 123 | with: |
124 | 124 | script: | |
125 | 125 | const prNumber = parseInt('${{ steps.metadata.outputs.pr_number }}', 10); |
|
0 commit comments