forked from CyberDrain/Check
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 934 Bytes
/
Label_Issues.yml
File metadata and controls
31 lines (31 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
name: Label Issues
on:
issues:
types:
- opened
jobs:
label_issues_bugs:
if: github.repository_owner == 'CyberDrain' && contains(github.event.issue.title, 'Bug')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Label Issues
uses: andymckay/labeler@5c59dabdfd4dd5bd9c6e6d255b01b9d764af4414
with:
add-labels: 'not-assigned'
repo-token: ${{ secrets.GITHUB_TOKEN }}
ignore-if-assigned: true
label_issues_frs:
if: github.repository_owner == 'CyberDrain' && contains(github.event.issue.title, 'Feature')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Label Issues
uses: andymckay/labeler@5c59dabdfd4dd5bd9c6e6d255b01b9d764af4414
with:
add-labels: 'enhancement, not-assigned'
repo-token: ${{ secrets.GITHUB_TOKEN }}
ignore-if-assigned: true