Skip to content

Commit 1cae83f

Browse files
committed
update: replace GITHUB_TOKEN with PERSONAL_ACCESS_TOKEN in workflow for triggering next workflow
1 parent 0c27bef commit 1cae83f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/shopee-announcements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
# Check duplicates via API and create an issue using GitHub CLI (gh)
3232
- name: Process Shopee Announcement and Create GitHub Issue
3333
env:
34-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Required variable for automatic authentication in gh CLI and GitHub API
34+
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # use PERSONAL_ACCESS_TOKEN for automated triggering next workflow
3535
REPOSITORY_NAME: ${{ github.repository }}
3636
run: php bin/shopee-openapi-announcement

0 commit comments

Comments
 (0)