fix(ci): token limitation for commit lint (#7647)

- Update gitlab.token to BOT_TOKEN for managing triage thing.
This commit is contained in:
JeremyWuuuuu 2022-05-12 11:32:30 +08:00 committed by GitHub
parent 2dc4e463fd
commit b228a65bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: '<!-- ELEMENT_PLUS_COMMIT_LINT -->'
@ -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.