File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 5
5
run_attempt :
6
6
description : ' Run attempt number'
7
7
required : true
8
- github_context :
9
- description : ' GitHub context as a JSON string'
8
+ repository :
9
+ description : ' GitHub context - Repository'
10
+ required : true
11
+ run_id :
12
+ description : ' GitHub context - Run_ID'
10
13
required : true
11
14
github_token :
12
15
description : ' GitHub Token'
18
21
- name : Check if this is a re-run
19
22
shell : bash
20
23
run : |
21
- # Parse the JSON string input
22
- github_context=$(echo "${{ inputs.github_context }}" | jq -r '.')
23
- run_id=$(echo "$github_context" | jq -r '.run_id')
24
- repository=$(echo "$github_context" | jq -r '.repository')
24
+ run_id= ${{ inputs.run_id }}
25
+ repository=${{ inputs.repository }}
25
26
26
27
if [ "${{ inputs.run_attempt }}" -gt 1 ]; then
27
28
echo "This run is a re-run (attempt #${{ inputs.run_attempt }})."
You can’t perform that action at this time.
0 commit comments