File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
13on :
4+ push :
5+ branches :
6+ - main
27 pull_request :
38 branches :
4- - main
5-
9+ - main
10+ merge_group :
11+ branches :
12+ - main
13+
614env :
715 CI : true
816 PNPM_CACHE_FOLDER : .pnpm-store
4755 - name : knip
4856 run : pnpm knip
4957 check-parse-results :
58+ if : ${{ github.event_name != 'merge_group' }}
5059 needs : build_and_test
5160 uses : ./.github/workflows/check-parse-results.yml
5261 changesets :
8998 run : pnpm install
9099 - name : format
91100 run : pnpm format:check
101+
102+
103+ required :
104+ runs-on : ubuntu-latest
105+ if : ${{ always() }}
106+ needs :
107+ - build_and_test
108+ - check-parse-results
109+ - changesets
110+ - format
111+
112+ steps :
113+ - name : Check required jobs
114+ env :
115+ NEEDS : ${{ toJson(needs) }}
116+ run : |
117+ ! echo $NEEDS | jq -e 'to_entries[] | { job: .key, result: .value.result } | select((.result == "success" or .result == "skipped") | not)'
You can’t perform that action at this time.
0 commit comments