File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1212 - name : Install packages
1313 shell : bash
1414 run : bun install
15-
16- - name : Check Branch
17- shell : bash
18- run : |
19- if [[ "${{ github.event.pull_request.head.ref }}" == "changeset-release/main" ]]; then
20- echo "Bypassing checks for changeset-release/main"
21- exit 0
22- fi
Original file line number Diff line number Diff line change 77
88jobs :
99 format :
10+ if : github.event.pull_request.head.ref != 'changeset-release/main'
1011 name : 💅 Format
1112 runs-on : ubuntu-latest
1213 steps :
2021 run : bun run format:check
2122
2223 lint :
24+ if : github.event.pull_request.head.ref != 'changeset-release/main'
2325 name : 🕵 Lint
2426 runs-on : ubuntu-latest
2527 steps :
3335 run : bun run lint
3436
3537 typecheck :
38+ if : github.event.pull_request.head.ref != 'changeset-release/main'
3639 name : ✅ Typecheck
3740 runs-on : ubuntu-latest
3841 steps :
4649 run : bun run typecheck
4750
4851 test :
52+ if : github.event.pull_request.head.ref != 'changeset-release/main'
4953 name : 🧪 Test
5054 runs-on : ubuntu-latest
5155 steps :
5963 run : bun run test
6064
6165 build :
66+ if : github.event.pull_request.head.ref != 'changeset-release/main'
6267 name : 🧰 Build
6368 runs-on : ubuntu-latest
6469 steps :
7075
7176 - name : Run build
7277 run : bun run build
78+
79+ status-check :
80+ if : github.event.pull_request.head.ref == 'changeset-release/main'
81+ name : 📋 Status check
82+ runs-on : ubuntu-latest
83+ steps :
84+ - name : Report Success
85+ run : echo "Marking all checks as successful for changeset-release/main branch."
You can’t perform that action at this time.
0 commit comments