From b228a65bd795e94fa1854e355ed2600c47fd273b Mon Sep 17 00:00:00 2001 From: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com> Date: Thu, 12 May 2022 11:32:30 +0800 Subject: [PATCH] fix(ci): token limitation for commit lint (#7647) - Update gitlab.token to BOT_TOKEN for managing triage thing. --- .github/workflows/lint-commit-message.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-commit-message.yml b/.github/workflows/lint-commit-message.yml index 02cd7ce43c..db65ee641e 100644 --- a/.github/workflows/lint-commit-message.yml +++ b/.github/workflows/lint-commit-message.yml @@ -61,7 +61,7 @@ jobs: - uses: actions-awesome/pr-helper@1.1.0 with: actions: 'maintain-comment, add-labels, remove-labels' - token: ${{ github.token }} + token: ${{ secrets.BOT_TOKEN }} labels-to-add: 'CommitMessage::Qualified' labels-to-remove: 'CommitMessage::Unqualified' body-filter: '' @@ -87,7 +87,7 @@ jobs: actions: 'remove-labels, add-labels, maintain-comment' labels-to-remove: 'CommitMessage::Qualified' labels-to-add: 'CommitMessage::Unqualified' - token: ${{ github.token }} + token: ${{ secrets.BOT_TOKEN }} comment-body: | Hello, @${{ github.event.pull_request.user.login }}, seems like your commit message contains some issues.