Skip to content

Commit de1a5f4

Browse files
Merge pull request #15 from stainless-code/fix-required-status-checks
bypass status check for `changeset-release/main` branch #2
2 parents d7b7794 + c4da5ed commit de1a5f4

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/actions/setup/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@ runs:
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

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77

88
jobs:
99
format:
10-
if: github.event.pull_request.head.ref != 'changeset-release/main'
1110
name: 💅 Format
1211
runs-on: ubuntu-latest
1312
steps:
@@ -21,7 +20,6 @@ jobs:
2120
run: bun run format:check
2221

2322
lint:
24-
if: github.event.pull_request.head.ref != 'changeset-release/main'
2523
name: 🕵 Lint
2624
runs-on: ubuntu-latest
2725
steps:
@@ -35,7 +33,6 @@ jobs:
3533
run: bun run lint
3634

3735
typecheck:
38-
if: github.event.pull_request.head.ref != 'changeset-release/main'
3936
name: ✅ Typecheck
4037
runs-on: ubuntu-latest
4138
steps:
@@ -49,7 +46,6 @@ jobs:
4946
run: bun run typecheck
5047

5148
test:
52-
if: github.event.pull_request.head.ref != 'changeset-release/main'
5349
name: 🧪 Test
5450
runs-on: ubuntu-latest
5551
steps:
@@ -63,7 +59,6 @@ jobs:
6359
run: bun run test
6460

6561
build:
66-
if: github.event.pull_request.head.ref != 'changeset-release/main'
6762
name: 🧰 Build
6863
runs-on: ubuntu-latest
6964
steps:

0 commit comments

Comments
 (0)