Using PAT correctly
This commit is contained in:
parent
ee6d667b0e
commit
7cd1f4460f
7
.github/workflows/cs-update-push.yml
vendored
7
.github/workflows/cs-update-push.yml
vendored
@ -31,6 +31,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
path: cs
|
||||
token: ${{ secrets.PAT }} #This is because we want to trigger a new build
|
||||
|
||||
- name: Checkout deploy-tools
|
||||
uses: actions/checkout@v4
|
||||
@ -41,9 +42,9 @@ jobs:
|
||||
token: ${{ github.token }}
|
||||
|
||||
- name: Increment package version and push
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT }} #This is because we want to trigger a new build
|
||||
# GITHUB_TOKEN: ${{ github.token }}
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||
# GITHUB_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
git config --global user.name 'bot-build'
|
||||
git config --global user.email 'techbots+build@gmetri.com'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user