Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can β€” learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company πŸ‘‡

fix: use PAT_TOKEN for submodule update workflow

CarterPerez-dev8b2d5a4487bc
diff --git a/.github/workflows/update-submodule.yml b/.github/workflows/update-submodule.yml
index 48046333..992d32cf 100644
--- a/.github/workflows/update-submodule.yml
+++ b/.github/workflows/update-submodule.yml
@@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
- token: ${{ secrets.GITHUB_TOKEN }}
+ token: ${{ secrets.PAT_TOKEN }}
- name: Update submodule to latest
run: |
@@ -38,6 +38,7 @@ jobs:
if: steps.changes.outputs.has_changes == 'true'
uses: peter-evans/create-pull-request@v5
with:
+ token: ${{ secrets.PAT_TOKEN }}
commit-message: "chore: update fullstack-template submodule"
title: "chore: update fullstack-template submodule"
body: |