From 10c95ee930649d3bdfcfd3f5cc1b237d51188785 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Fri, 24 Jan 2025 02:55:37 -0300 Subject: [PATCH] ci(repo): Fix for publish crates --- .github/workflows/publish_release.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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