naive-ui/.github/workflows/issue-add-label.yml

19 lines
457 B
YAML
Raw Normal View History

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'