Skip to content

Commit e613950

Browse files
committed
chore: use PAT_TOKEN in sync-dev-to-main
1 parent 208d991 commit e613950

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/sync-dev-to-main.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22-
token: ${{ secrets.GITHUB_TOKEN }}
22+
token: ${{ secrets.PAT_TOKEN }} # Use PAT instead of GITHUB_TOKEN
2323

2424
- name: Configure Git
2525
run: |
@@ -84,11 +84,5 @@ jobs:
8484
run: |
8585
git push origin main
8686
echo "Successfully synced dev to main"
87-
88-
call-release:
89-
needs: sync-branches
90-
if: needs.sync-branches.outputs.merge_success == 'true'
91-
uses: ./.github/workflows/release.yml
92-
secrets: inherit
9387
9488

0 commit comments

Comments
 (0)