Skip to content

Commit

Permalink
change token at checkout too
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvshivkov authored Nov 28, 2024
1 parent 88112dd commit 60ba864
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build-publish-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -131,4 +131,3 @@ jobs:
title: ${{ env.remote_pr_branch }}
token: ${{ secrets.DOCS_NEXT_TOKEN }}
branch: ${{ env.remote_pr_branch }}

0 comments on commit 60ba864

Please sign in to comment.