Skip to content

Commit f5d8070

Browse files
authored
Update main.yml
1 parent 968fdb5 commit f5d8070

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)