From 18983a42e3b9807a7292fb49d6bdbb1d3c23def4 Mon Sep 17 00:00:00 2001 From: Anton Baliasnikov Date: Mon, 24 Oct 2022 13:50:50 +0100 Subject: [PATCH] ci: use token to fix release publishing restrictions --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2da301f69..51d3c96b3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,11 +15,13 @@ on: jobs: release: env: + GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }} GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: + token: ${{ secrets.ATALA_GITHUB_TOKEN }} ref: ${{ github.event.inputs.release-branch }} fetch-depth: 0 - name: Setup Java and Scala