From 554e97e19bbb1820e160b5a03d7d47029384e7eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Ventuzelos?= <207163323+cx-luis-ventuzelos@users.noreply.github.com> Date: Tue, 9 Jun 2026 19:26:23 +0100 Subject: [PATCH] Fix release workflow auth and scope contents:write to release job --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f465df..b4072c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,20 +8,19 @@ on: description: 'Next release tag' required: true -permissions: - contents: write - jobs: release: runs-on: cx-public-ubuntu-x64 + permissions: + contents: write outputs: CLI_VERSION: ${{ steps.extract_cli_version.outputs.CLI_VERSION }} - + steps: - name: Checkout uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # with: - # token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + with: + token: ${{ secrets.GITHUB_TOKEN }} - name: Extract full CLI version from Dockerfile id: extract_cli_version