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
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: cs
|
path: cs
|
||||||
|
token: ${{ secrets.PAT }} #This is because we want to trigger a new build
|
||||||
|
|
||||||
- name: Checkout deploy-tools
|
- name: Checkout deploy-tools
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -41,9 +42,9 @@ jobs:
|
|||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
|
|
||||||
- name: Increment package version and push
|
- name: Increment package version and push
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }} #This is because we want to trigger a new build
|
# GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
# GITHUB_TOKEN: ${{ github.token }}
|
# GITHUB_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'bot-build'
|
git config --global user.name 'bot-build'
|
||||||
git config --global user.email 'techbots+build@gmetri.com'
|
git config --global user.email 'techbots+build@gmetri.com'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user