From 60ba8642e01700640acdc1ab5ef5c3c4d420e3ac Mon Sep 17 00:00:00 2001 From: Vladimir Vshivkov <32225815+vladimirvshivkov@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:46:01 +0100 Subject: [PATCH] change token at checkout too --- .github/workflows/build-publish-staging.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-publish-staging.yaml b/.github/workflows/build-publish-staging.yaml index af4663638..fd55c5705 100644 --- a/.github/workflows/build-publish-staging.yaml +++ b/.github/workflows/build-publish-staging.yaml @@ -102,17 +102,17 @@ jobs: pull-requests: write steps: - - name: Create GitHub App Token - id: app-token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ secrets.APP_ID }} - private-key: ${{ secrets.APP_KEY }} + # - name: Create GitHub App Token + # id: app-token + # uses: actions/create-github-app-token@v1 + # with: + # app-id: ${{ secrets.APP_ID }} + # private-key: ${{ secrets.APP_KEY }} - name: Checkout Charts Repo uses: actions/checkout@v4 with: repository: "${{ vars.DOCS_NEXT_CHARTS_ORG }}/${{ vars.DOCS_NEXT_CHARTS_REPO }}" - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_NEXT_TOKEN }} - name: Commit Changes env: image: ${{ vars.REGISTRY }}/${{ vars.REGISTRY_ORG }}/${{ vars.IMG_NAME }} @@ -131,4 +131,3 @@ jobs: title: ${{ env.remote_pr_branch }} token: ${{ secrets.DOCS_NEXT_TOKEN }} branch: ${{ env.remote_pr_branch }} -