表单支持Label的Slot #2159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add Bug Labels | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
add-labels: | |
runs-on: ubuntu-latest | |
if: contains(github.event.issue.body, '__BUG__') == true | |
steps: | |
- name: Add labels | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'add-labels' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
issue-number: ${{ github.event.issue.number }} | |
labels: 'untriaged' |