From b85da264e1c1654ef97b3650eb99d7b353edf5e7 Mon Sep 17 00:00:00 2001 From: schmidtw Date: Thu, 20 Jun 2024 22:20:42 -0700 Subject: [PATCH] fix:Use a PAT so more actions can be triggered. --- .github/workflows/auto-release.yml | 1 + .github/workflows/auto-releaser.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index dd43f47..ed1ac42 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -11,3 +11,4 @@ on: jobs: release: uses: ./.github/workflows/auto-releaser.yml + secrets: inherit diff --git a/.github/workflows/auto-releaser.yml b/.github/workflows/auto-releaser.yml index 39c68a1..923067d 100644 --- a/.github/workflows/auto-releaser.yml +++ b/.github/workflows/auto-releaser.yml @@ -14,6 +14,7 @@ # jobs: # release: # uses: xmidt-org/shared-go/.github/workflows/ci.yml@826aa545bb56f6c7c551d44febb420c0293c8bff # v4.2.0 +# secrets: inherit --- name: 'Auto Releaser' @@ -80,6 +81,7 @@ jobs: inputs.which == 'tag' uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: + github-token: ${{ secrets.PUSH_TAG_TOKEN }} script: | github.rest.git.createRef({ owner: context.repo.owner,