Skip to content

Commit b48ce03

Browse files
author
Guillaume Lessard
committed
fix(release): restore the push trigger — wheels build on every commit again
I broke the thing that made past releases work. The proven workflow runs on every push to main, not only on tags: on: push: branches: [main, master] tags: ["v*", "ci-*", "test-*"] pull_request: {} workflow_dispatch: {} I had narrowed it to tags-only, which removed continuous wheel validation and is why the Build check vanished from the push checks. That is exactly backwards: building all 15 wheels on every commit is *why* tagging previously "just worked" - the wheels were already proven by the time a tag existed, so the tag run had nothing left to discover. Restored verbatim, along with the original job name (`Build`) so the check reads as it always has. Also gated dependency-gate to tag pushes. dependency-audit.yml already runs non-strict on every push as its own check; calling it again from here would duplicate that on every commit. It earns its place at release time, where strict turns an advisory into a hard block - which is what caught RUSTSEC-2026-0204. Publish remains tag-only, so pushes build and verify but cannot publish.
1 parent 523919a commit b48ce03

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/release-build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: release-build
1+
name: Build
22

33
# Restored from the workflow that actually published v0.6.5 -> v0.6.9
44
# (preserved at the v0.6.9 checkout). The v0.7.0 prep commit 3d332eb replaced
@@ -29,8 +29,9 @@ name: release-build
2929

3030
on:
3131
push:
32-
tags:
33-
- "v*"
32+
branches: [main, master]
33+
tags: ["v*", "ci-*", "test-*"]
34+
pull_request: {}
3435
workflow_dispatch: {}
3536

3637
permissions:
@@ -170,6 +171,11 @@ jobs:
170171
# RUSTSEC-2026-0204 before it could ship.
171172
dependency-gate:
172173
name: Dependency + licence gate
174+
# Tag pushes only. dependency-audit.yml already runs non-strict on every
175+
# push as its own check; running it again here would duplicate that on every
176+
# commit for no benefit. It matters at release time, where strict turns an
177+
# advisory into a hard block - which is what stopped RUSTSEC-2026-0204.
178+
if: startsWith(github.ref, 'refs/tags/v')
173179
uses: ./.github/workflows/dependency-audit.yml
174180
with:
175181
strict: true

0 commit comments

Comments
 (0)