Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Enforce the presence of priority labels on PRs (#114)
Dhruv Bhanushali09769fd67198
diff --git a/.github/GITHUB.md b/.github/GITHUB.mdindex e73c4f3fb..2c9173c7e 100644--- a/.github/GITHUB.md+++ b/.github/GITHUB.md@@ -40,7 +40,7 @@ Openverse PRs project, based on whether they are marked as draft or ready.### PR label checkThis workflow ensures that all PRs have one label from each of the groups-'aspect' and 'goal' applied on them.+'aspect', 'goal' and 'priority' applied on them.**PR:** opened, edited, labeled, unlabeled, synchronize**Dispatch:** disableddiff --git a/.github/workflows/pr_label_check.yml b/.github/workflows/pr_label_check.ymlindex 795299cbe..a01b96e69 100644--- a/.github/workflows/pr_label_check.yml+++ b/.github/workflows/pr_label_check.yml@@ -28,3 +28,12 @@ jobs:uses: sugarshin/[email protected]with:required_oneof: 'π goal: addition,π goal: fix,β¨ goal: improvement,π§° goal: internal improvement'++ check_priority_label:+ name: Check priority label+ runs-on: ubuntu-latest+ steps:+ - name: Check priority label+ uses: sugarshin/[email protected]+ with:+ required_oneof: 'π© priority: low,π¨ priority: medium,π§ priority: high,π₯ priority: critical'