Skip to content

Commit

Permalink
ci(workflow): restrict crate publication trigger to new releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Dec 13, 2024
1 parent 29a7ae8 commit ab063b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Publish

on:
push:
branches: [main]
tags: ["v*"]
release:
types: [published]

concurrency:
group: publish-${{ github.ref }}
Expand Down

0 comments on commit ab063b3

Please sign in to comment.