Skip to content

Commit e6b04f8

Browse files
change token at checkout too (#172)
1 parent 88112dd commit e6b04f8

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/build-publish-staging.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,17 @@ jobs:
102102
pull-requests: write
103103

104104
steps:
105-
- name: Create GitHub App Token
106-
id: app-token
107-
uses: actions/create-github-app-token@v1
108-
with:
109-
app-id: ${{ secrets.APP_ID }}
110-
private-key: ${{ secrets.APP_KEY }}
105+
# - name: Create GitHub App Token
106+
# id: app-token
107+
# uses: actions/create-github-app-token@v1
108+
# with:
109+
# app-id: ${{ secrets.APP_ID }}
110+
# private-key: ${{ secrets.APP_KEY }}
111111
- name: Checkout Charts Repo
112112
uses: actions/checkout@v4
113113
with:
114114
repository: "${{ vars.DOCS_NEXT_CHARTS_ORG }}/${{ vars.DOCS_NEXT_CHARTS_REPO }}"
115-
token: ${{ steps.app-token.outputs.token }}
115+
token: ${{ secrets.DOCS_NEXT_TOKEN }}
116116
- name: Commit Changes
117117
env:
118118
image: ${{ vars.REGISTRY }}/${{ vars.REGISTRY_ORG }}/${{ vars.IMG_NAME }}
@@ -131,4 +131,3 @@ jobs:
131131
title: ${{ env.remote_pr_branch }}
132132
token: ${{ secrets.DOCS_NEXT_TOKEN }}
133133
branch: ${{ env.remote_pr_branch }}
134-

0 commit comments

Comments
 (0)