From 73a2c86f7f37ff5ed72d5d6d61b7cd8c7f88f61b Mon Sep 17 00:00:00 2001 From: Joao Daher Date: Mon, 9 Dec 2024 12:32:33 -0300 Subject: [PATCH] ci: update env var that pushes a new release --- .github/workflows/release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ca3ef60..b7d3cd7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,6 +8,9 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - name: Install uv @@ -41,8 +44,9 @@ jobs: if: ${{ steps.versioning.outputs.should_release == 'true' }} run: gh release create ${{ steps.versioning.outputs.package_version }} --generate-notes env: - GITHUB_TOKEN: ${{ secrets.gh_token }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build & Publish package if: ${{ steps.versioning.outputs.should_release == 'true' }} run: | uv build + uv publish