From 396bde49090167ea3a7a908936b6c6b8f661f4cd Mon Sep 17 00:00:00 2001 From: Philip Gai Date: Fri, 5 Nov 2021 18:46:13 +0000 Subject: [PATCH] Use pat for releases --- .github/workflows/composite/web-app-create-release/action.yml | 1 + .github/workflows/web-app-ci-cd.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/composite/web-app-create-release/action.yml b/.github/workflows/composite/web-app-create-release/action.yml index 128c496..1514040 100644 --- a/.github/workflows/composite/web-app-create-release/action.yml +++ b/.github/workflows/composite/web-app-create-release/action.yml @@ -34,3 +34,4 @@ runs: with: files: "${{ inputs.working-directory }}/release.tar" tag_name: ${{ steps.github-tag-action.outputs.tag }} + token: ${{ inputs.github_token }} diff --git a/.github/workflows/web-app-ci-cd.yml b/.github/workflows/web-app-ci-cd.yml index bc6f51f..1bf8fa8 100644 --- a/.github/workflows/web-app-ci-cd.yml +++ b/.github/workflows/web-app-ci-cd.yml @@ -59,3 +59,5 @@ jobs: - name: Create Release id: create-releaes uses: ./.github/workflows/composite/web-app-create-release + with: + github_token: "${{ secrets.ACTIONS_RELEASE_PAT }}"