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:
35
35
curl -L https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 -o jq
36
36
chmod +x jq
37
37
./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)
39
39
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 ")
41
41
echo "filtered..."
42
42
./jq -e . <<< "$FILTERED"
43
- FILTERED=$(./jq --slurp -c -r . <<< "$CHECK_RUNS ")
43
+ FILTERED=$(./jq --slurp -c -r . <<< "$FILTERED ")
44
44
./jq -e . <<< "$FILTERED"
45
45
echo "computing groups"
46
46
./jq -c -r '. as $jobs | map(.config | split(".") | first) | unique' <<< "$FILTERED"
You can’t perform that action at this time.
0 commit comments