Using PAT correctly

This commit is contained in:
Sahil Ahuja 2025-02-10 01:55:47 +05:30
parent ee6d667b0e
commit 7cd1f4460f

View File

@ -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'