This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
55 lines (50 loc) · 1.84 KB
/
pr_label_check.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: PR label check
# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#pr-label-check
on:
pull_request:
types:
# Default types
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
- opened
- reopened
- synchronize
# Label is changed
- labeled
- unlabeled
jobs:
check_aspect_label:
name: Check aspect label
runs-on: ubuntu-latest
steps:
- name: Check aspect label
uses: docker://agilepathway/pull-request-label-checker:v1.2.13
with:
one_of: "💻 aspect: code,📄 aspect: text,🤖 aspect: dx,🕹 aspect: interface,♿️ aspect: a11y"
repo_token: ${{ secrets.GITHUB_TOKEN }}
check_goal_label:
name: Check goal label
runs-on: ubuntu-latest
steps:
- name: Check goal label
uses: docker://agilepathway/pull-request-label-checker:v1.2.13
with:
one_of: "🌟 goal: addition,🛠 goal: fix,✨ goal: improvement,🧰 goal: internal improvement"
repo_token: ${{ secrets.GITHUB_TOKEN }}
check_priority_label:
name: Check priority label
runs-on: ubuntu-latest
steps:
- name: Check priority label
uses: docker://agilepathway/pull-request-label-checker:v1.2.13
with:
one_of: "🟩 priority: low,🟨 priority: medium,🟧 priority: high,🟥 priority: critical"
repo_token: ${{ secrets.GITHUB_TOKEN }}
check_stack_label:
name: Check stack label
runs-on: ubuntu-latest
steps:
- name: Check stack label
uses: docker://agilepathway/pull-request-label-checker:v1.2.13
with:
any_of: "🧱 stack: backend,🧱 stack: frontend,🧱 stack: mgmt,🧱 stack: api,🧱 stack: catalog,🧱 stack: ingestion server"
repo_token: ${{ secrets.GITHUB_TOKEN }}