diff --git a/.github/workflows/publish_release.yaml b/.github/workflows/publish_release.yaml index bd4edc6a..a71a4e5f 100644 --- a/.github/workflows/publish_release.yaml +++ b/.github/workflows/publish_release.yaml @@ -1,9 +1,12 @@ name: Publish on Crates.io on: - release: - types: - - published + push: + branches: + - main + # release: + # types: + # - published env: CI: true @@ -13,6 +16,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +permissions: + contents: write + pull-requests: write + jobs: publish-crates: name: Publish on Crates.io