Skip to content

Commit 34f4bd8

Browse files
authored
Merge pull request #47 from Automattic/fix/increase-ctrf-retention
Upgrade dawidd6/action-download-artifact to v20 and filter by name
2 parents 3ac6c73 + 7948812 commit 34f4bd8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/report.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333

3434
- name: Set environment variables safely
3535
env:
36-
PAYLOAD: ${{ toJson(github.event.client_payload) }}
36+
# inputs.client_payload for workflow_dispatch, event.client_payload for repository_dispatch
37+
PAYLOAD: ${{ github.event.inputs.client_payload || toJson(github.event.client_payload) }}
3738
run: |
3839
# Use jq to safely extract values from client_payload
3940
echo "PR_NUMBER=$(echo "$PAYLOAD" | jq -r '.pr_number // ""')" >> $GITHUB_ENV
@@ -82,12 +83,14 @@ jobs:
8283
run: ./bin/wait-for-artifacts.sh
8384

8485
- name: Download artifacts
85-
uses: dawidd6/action-download-artifact@23e7b2e9aa32a408a649c4fca36dee127ff5d325 # v11
86+
uses: dawidd6/action-download-artifact@8305c0f1062bb0d184d09ef4493ecb9288447732 # v20
8687
with:
8788
repo: Automattic/jetpack
8889
workflow: e2e-tests.yml
8990
workflow_conclusion: "completed"
9091
run_id: ${{ env.RUN_ID }}
92+
name: test-output-*
93+
name_is_regexp: true
9194
path: ../downloads
9295

9396
- name: Generate test report

0 commit comments

Comments
 (0)