From 9e69fa891ff0853a49c4a55bd738fc5b501fb1f5 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Thu, 4 Jul 2024 16:09:16 +0000 Subject: [PATCH] ci: set GITHUB_ACCESS_TOKEN variable --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b57175c..ebcbfa7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,8 @@ jobs: plugin: deno args: | compile -A --output fluentci --target ${{ matrix.target }} main.ts + env: + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Archive assets @@ -40,6 +42,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} ACCOUNT_ID: fe5b1e2ce9f94f4c0415ab94ce402012 + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload release assets run: | for ext in tar.gz tar.gz.sha256; do @@ -49,3 +52,4 @@ jobs: env: TAG: ${{ env.RELEASE_VERSION }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}