naive-ui/.github/workflows/issue-add-label.yml
caoyugang_1 823d209739
feat(action):Issue auto add feature request label (#328)
* fix: tsconfig support ts

* fix: add feature request label

* fix: change feature request label

* Update .github/workflows/issue-add-label.yml

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-09 00:39:31 +08:00

19 lines
457 B
YAML

name: Add Feature Request Labels
on:
issues:
types: [opened]
jobs:
add-labels:
runs-on: ubuntu-latest
if: contains(github.event.issue.body, '__FEATURE_REQUEST__') == 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: 'feature request'