fix(auto-changelog): add token to checkout

pull/2006/head
FonduemangVI 7 months ago
parent 791300ad18
commit 9477b275d6

@ -17,6 +17,7 @@ jobs:
uses: actions/checkout@v4.1.6
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- name: Get last edit time of docs/updates.txt
run: |
@ -52,4 +53,4 @@ jobs:
git config --global user.name "GitHub Actions"
git diff
git commit -am "chore(changelog): Update updates.txt" || exit 0
git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master --force
git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master

Loading…
Cancel
Save