From 96d07052200fe6877e0d3403813757f34eccde99 Mon Sep 17 00:00:00 2001 From: Nicolas Bigler Date: Tue, 10 Oct 2023 12:09:41 +0200 Subject: [PATCH] Use Github action PAT to push to master Signed-off-by: Nicolas Bigler --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f0a344847..bef937dd3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,6 +36,7 @@ jobs: - uses: actions/checkout@v4 with: ref: 'master' + token: ${{ secrets.GH_ACTION_PAT }} - name: set tag env run: echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Change version in package @@ -43,6 +44,6 @@ jobs: yq -i '.parameters."pkg.appcat".componentVersion = "${{ env.TAG_VERSION }}"' package/main.yaml - uses: actions-js/push@v1.4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GH_ACTION_PAT }} message: "Update component version in package to ${{ env.TAG_VERSION }}" branch: 'master'