Skip to content

Commit b72b3d6

Browse files
committed
fix: skip jobs
1 parent 4c7f817 commit b72b3d6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/quality.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ on:
66
- 'master'
77
- '!changeset-release/**'
88
pull_request:
9-
branches-ignore:
10-
- 'changeset-release/**'
119

1210
jobs:
1311
lockfile:
12+
if: ${{ !startsWith(github.head_ref, 'refs/heads/changeset-release/') }}
1413
name: Lockfile
1514
runs-on: ubuntu-latest
1615

@@ -27,6 +26,7 @@ jobs:
2726
run: pnpm install --frozen-lockfile
2827

2928
linting:
29+
if: ${{ !startsWith(github.head_ref, 'refs/heads/changeset-release/') }}
3030
name: Linting
3131
runs-on: ubuntu-latest
3232

@@ -41,6 +41,7 @@ jobs:
4141
run: pnpm lint
4242

4343
type-checking:
44+
if: ${{ !startsWith(github.head_ref, 'refs/heads/changeset-release/') }}
4445
name: Type checking
4546
runs-on: ubuntu-latest
4647

@@ -58,6 +59,7 @@ jobs:
5859
run: pnpm typecheck:flow
5960

6061
testing:
62+
if: ${{ !startsWith(github.head_ref, 'refs/heads/changeset-release/') }}
6163
name: Testing
6264
needs: [lockfile, linting, type-checking]
6365
runs-on: ubuntu-latest
@@ -83,6 +85,7 @@ jobs:
8385
run: pnpm test:integration
8486

8587
regression-testing:
88+
if: ${{ !startsWith(github.head_ref, 'refs/heads/changeset-release/') }}
8689
name: Regression Testing
8790
needs: [testing]
8891
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)