Skip to content

Commit 202b8ac

Browse files
authored
chore: ensure chore commit do not trigger releases (#6)
1 parent 3351634 commit 202b8ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767

6868
runs-on: ubuntu-latest
6969
environment: test_release
70-
if: github.ref_name == 'main' && !startsWith(github.event.pull_request.title,'chore') && !startsWith(github.event.head_commit.message,'chore')
70+
if: github.ref_name != 'main'
7171

7272
steps:
7373
- uses: actions/checkout@v4
@@ -92,7 +92,7 @@ jobs:
9292
- lint
9393
- commitlint
9494

95-
if: github.ref_name == 'main'
95+
if: github.ref_name == 'main' && !startsWith(github.event.pull_request.title,'chore') && !startsWith(github.event.head_commit.message,'chore')
9696
runs-on: ubuntu-latest
9797
environment: release
9898
concurrency: release

0 commit comments

Comments
 (0)