Skip to content

Commit e88bea2

Browse files
committed
github: workflows: move needs_context to env
TODO Signed-off-by: Thomas Stranger <[email protected]>
1 parent d7b2a8d commit e88bea2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ready-to-merge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
all_jobs_passed:
1515
name: all jobs passed
1616
runs-on: ubuntu-latest
17+
env:
18+
NEEDS_CONTEXT: ${{ input.needs_context }}
1719
steps:
1820
- name: "Check status of all required jobs"
1921
run: |-
20-
NEEDS_CONTEXT='${{ inputs.needs_context }}'
2122
JOB_IDS=$(echo "$NEEDS_CONTEXT" | jq -r 'keys[]')
2223
for JOB_ID in $JOB_IDS; do
2324
RESULT=$(echo "$NEEDS_CONTEXT" | jq -r ".[\"$JOB_ID\"].result")

0 commit comments

Comments
 (0)