Skip to content

Commit 9d8abdb

Browse files
Update GitHub Actions workflow to use GH_PAT secret instead of TOKEN
1 parent 625a8ad commit 9d8abdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/kustomize-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
git config --global user.name ${{ secrets.GIT_USER_EMAIL }}
6666
git config --global user.email ${{ secrets.GIT_USER_NAME }}
6767
68-
git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }}.git
68+
git remote set-url origin https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}.git
6969
7070
7171
git add kustomize/overlays/dev/patch-deployment-image.yaml

0 commit comments

Comments
 (0)