Skip to content

Commit bb75274

Browse files
committed
ci(repo): fix ci.yaml action
1 parent a248c45 commit bb75274

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ jobs:
115115
publish-crates-check:
116116
name: Publish Check
117117
needs:
118-
- validate-title
119118
- lockfile
120119
- pre-commit
121120
- commitlint
@@ -139,7 +138,6 @@ jobs:
139138
cargo-verifications:
140139
name: Cargo verifications
141140
needs:
142-
- validate-title
143141
- lockfile
144142
- pre-commit
145143
- commitlint
@@ -187,6 +185,8 @@ jobs:
187185
188186
- name: Install Rust
189187
uses: ./.github/actions/setup-rust
188+
with:
189+
toolchain: ${{ env.RUST_NIGHTLY_VERSION }}
190190

191191
- name: Start Nats
192192
run: |
@@ -317,8 +317,11 @@ jobs:
317317

318318
release:
319319
name: Create Release with Knope
320-
if: (github.head_ref == 'changeset/release-main' && github.event.pull_request.merged == true) || github.event_name
321-
== 'workflow_dispatch'
320+
if: >-
321+
(github.event_name == 'push' &&
322+
github.ref == 'refs/heads/main' &&
323+
contains(github.event.head_commit.message, 'ci(release): Preparing')) ||
324+
github.event_name == 'workflow_dispatch'
322325
needs:
323326
- test-coverage
324327
- build

0 commit comments

Comments
 (0)