File tree Expand file tree Collapse file tree 3 files changed +63
-7
lines changed Expand file tree Collapse file tree 3 files changed +63
-7
lines changed Original file line number Diff line number Diff line change 11name : lint
22
33on :
4- pull_request :
5- paths-ignore :
6- - " **.md"
7- - " **.svg"
8- - " .gitignore"
9- - " LICENSE"
10- - " flake.lock"
4+ workflow_call :
115
126jobs :
137 treefmt :
Original file line number Diff line number Diff line change 1+ name : Merge Queue
2+
3+ on :
4+ merge_group :
5+
6+ permissions : {}
7+
8+ jobs :
9+ lint :
10+ uses : ./.github/workflows/lint.yml
11+
12+ # This job's only purpose is to serve as a target for the "Required Status Checks" branch ruleset.
13+ # It "needs" all the jobs that should block the Merge Queue.
14+ # If they pass, it is skipped — which counts as "success" for purposes of the branch ruleset.
15+ # However, if any of them fail, this job will also fail — thus blocking the branch ruleset.
16+ no-pr-failures :
17+ # Modify this list to add or remove jobs from required status checks.
18+ needs :
19+ - lint
20+
21+ # WARNING:
22+ # Do NOT change the name of this job, otherwise the rule will not catch it anymore.
23+ # This would prevent all PRs from passing the merge queue.
24+ name : no PR failures
25+ # The "cancelled()" function only checks the whole workflow, but not individual jobs.
26+ if : ${{ failure() || contains(needs.*.result, 'cancelled') }}
27+ runs-on : ubuntu-24.04-arm
28+ steps :
29+ - run : exit 1
Original file line number Diff line number Diff line change 1+ name : PR
2+
3+ on :
4+ pull_request :
5+
6+ concurrency :
7+ group : pr-${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
8+ cancel-in-progress : true
9+
10+ permissions : {}
11+
12+ jobs :
13+ lint :
14+ uses : ./.github/workflows/lint.yml
15+
16+ # This job's only purpose is to serve as a target for the "Required Status Checks" branch ruleset.
17+ # It "needs" all the jobs that should block merging a PR.
18+ # If they pass, it is skipped — which counts as "success" for purposes of the branch ruleset.
19+ # However, if any of them fail, this job will also fail — thus blocking the branch ruleset.
20+ no-pr-failures :
21+ # Modify this list to add or remove jobs from required status checks.
22+ needs :
23+ - lint
24+
25+ # WARNING:
26+ # Do NOT change the name of this job, otherwise the rule will not catch it anymore.
27+ # This would prevent all PRs from merging.
28+ name : no PR failures
29+ # The "cancelled()" function only checks the whole workflow, but not individual jobs.
30+ if : ${{ failure() || contains(needs.*.result, 'cancelled') }}
31+ runs-on : ubuntu-24.04-arm
32+ steps :
33+ - run : exit 1
You can’t perform that action at this time.
0 commit comments