mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-24 11:05:17 +08:00
fix(ci): token limitation for commit lint (#7647)
- Update gitlab.token to BOT_TOKEN for managing triage thing.
This commit is contained in:
parent
2dc4e463fd
commit
b228a65bd7
4
.github/workflows/lint-commit-message.yml
vendored
4
.github/workflows/lint-commit-message.yml
vendored
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user