From b7c9283780d3f18d4fb831006fd0272d2e01b3bb Mon Sep 17 00:00:00 2001 From: Ken Sedgwick Date: Wed, 2 Oct 2024 15:38:50 -0700 Subject: [PATCH] use env for github token instead --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dac46b9a2..44cc2be76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,8 @@ jobs: asset_path: ${{ env.TARBALL_PATH }} asset_name: clboss-${{ github.event.release.tag_name }}.tar.gz asset_content_type: application/gzip - github_access_token: ${{ secrets.GITHUB_TOKEN }} + env: + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Upload .zip release asset uses: actions/upload-release-asset@v1 @@ -70,4 +71,5 @@ jobs: asset_path: ${{ env.ZIP_PATH }} asset_name: clboss-${{ github.event.release.tag_name }}.zip asset_content_type: application/zip - github_access_token: ${{ secrets.GITHUB_TOKEN }} + env: + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}