Skip to content

Commit

Permalink
fix(ci): use secrets.GH_ACTIONS_REPO_PAT instead of GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf722 committed Oct 30, 2024
1 parent 6aad770 commit 47a41e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/i18n-update-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ jobs:
comment_id: ${{ github.event.comment.id }},
content: 'rocket'
});
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_REPO_PAT }}

exception:
name: Exception
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/i18n-update-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,5 @@ jobs:
head: process.env.BRANCH,
base: '${{ github.event.repository.default_branch }}'
});
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_REPO_PAT }}

0 comments on commit 47a41e5

Please sign in to comment.