-
Notifications
You must be signed in to change notification settings - Fork 4
26 lines (21 loc) · 764 Bytes
/
Copy pathLabels.yml
File metadata and controls
26 lines (21 loc) · 764 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
name: Labels
on:
issues:
types: [opened]
jobs:
change-label:
runs-on: ubuntu-latest
env:
GOLD_FOUNDATION_MEMBERS: ${{ secrets.GOLD_FOUNDATION_MEMBERS }}
SILVER_FOUNDATION_MEMBERS: ${{ secrets.SILVER_FOUNDATION_MEMBERS }}
steps:
- name: Label Issue Gold Foundation Member
if: ${{ contains(fromJson(env.GOLD_FOUNDATION_MEMBERS), github.event.issue.user.login) }}
uses: andymckay/labeler@master
with:
add-labels: "Gold Foundation Member"
- name: Label Issue Silver Foundation Member
if: ${{ contains(fromJson(env.SILVER_FOUNDATION_MEMBERS), github.event.issue.user.login) }}
uses: andymckay/labeler@master
with:
add-labels: "Silver Foundation Member"