Skip to content

Commit 0ac343a

Browse files
committed
Don't publish on the push of any tag
The tags are named vX.Y, and we'll be 0.x for a while, so limiting the publish-crate action to run v0 tags seems good enough to avoid accidental publishes.
1 parent cc4f51f commit 0ac343a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
github-token: ${{ secrets.GITHUB_TOKEN }}
6666

6767
publish-crate:
68-
if: startsWith(github.ref, 'refs/tags/')
68+
if: startsWith(github.ref, 'refs/tags/v0')
6969
runs-on: ubuntu-latest
7070
needs: [test]
7171
steps:

0 commit comments

Comments
 (0)