mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
18 lines
426 B
YAML
18 lines
426 B
YAML
|
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@v2.2.1
|
||
|
with:
|
||
|
actions: 'add-labels'
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
issue-number: ${{ github.event.issue.number }}
|
||
|
labels: 'untriaged'
|