File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ jobs:
3535 curl -L https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 -o jq
3636 chmod +x jq
3737 ./jq --version
38- CHECK_RUNS =$(gh api "repos/$GITHUB_REPOSITORY/commits/main/check-runs" --paginate)
38+ RUNS =$(gh api "repos/$GITHUB_REPOSITORY/commits/main/check-runs" --paginate)
3939 echo "checks..."
40- FILTERED=$(./jq -c -r '.check_runs[] | select(.name | endswith("-env")) | { "config": .name, "build_path": .output.text }' <<< "$CHECK_RUNS ")
40+ FILTERED=$(./jq -c -r '.check_runs[] | select(.name | endswith("-env")) | { "config": .name, "build_path": .output.text }' <<< "$RUNS ")
4141 echo "filtered..."
4242 ./jq -e . <<< "$FILTERED"
43- FILTERED=$(./jq --slurp -c -r . <<< "$CHECK_RUNS ")
43+ FILTERED=$(./jq --slurp -c -r . <<< "$FILTERED ")
4444 ./jq -e . <<< "$FILTERED"
4545 echo "computing groups"
4646 ./jq -c -r '. as $jobs | map(.config | split(".") | first) | unique' <<< "$FILTERED"
You can’t perform that action at this time.
0 commit comments