Skip to content

Commit 61da433

Browse files
committed
chore(ci): skip ci jobs for release PRs
1 parent d79b3ee commit 61da433

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
conventional-commits:
1818
name: Conventional Commits
1919
runs-on: ubuntu-latest
20-
if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'dependabot/') && !startsWith(github.head_ref, 'release-please--')
20+
if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'dependabot/') && !startsWith(github.head_ref, 'release-plz-')
2121
steps:
2222
- uses: actions/checkout@v6
2323
with:
@@ -82,6 +82,7 @@ jobs:
8282
fmt:
8383
name: Format
8484
runs-on: ubuntu-latest
85+
if: github.event_name != 'pull_request' || !startsWith(github.head_ref, 'release-plz-')
8586
steps:
8687
- uses: actions/checkout@v6
8788
- run: rustup toolchain install
@@ -90,6 +91,7 @@ jobs:
9091
clippy:
9192
name: Clippy
9293
runs-on: ubuntu-latest
94+
if: github.event_name != 'pull_request' || !startsWith(github.head_ref, 'release-plz-')
9395
steps:
9496
- uses: actions/checkout@v6
9597
- run: rustup toolchain install
@@ -99,6 +101,7 @@ jobs:
99101
test:
100102
name: Test (${{ matrix.os }})
101103
runs-on: ${{ matrix.os }}
104+
if: github.event_name != 'pull_request' || !startsWith(github.head_ref, 'release-plz-')
102105
strategy:
103106
fail-fast: false
104107
matrix:

0 commit comments

Comments
 (0)