Skip to content

Commit 812df8c

Browse files
authored
chore(CI): add skip-check (#60)
1 parent a557e0b commit 812df8c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: "CI"
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
pull_request:
48
branches:
@@ -13,7 +17,14 @@ concurrency:
1317
cancel-in-progress: true
1418

1519
jobs:
20+
skip-check:
21+
if: ${{ !contains(github.event.pull_request.title, 'chore(release):') }}
22+
runs-on: ubuntu-latest
23+
steps:
24+
- run: echo "run only on non-release commits"
25+
1626
validate:
27+
needs: [skip-check]
1728
runs-on: ubuntu-latest
1829
steps:
1930
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)