Skip to content

Commit

Permalink
Add audit label enforcement to CI (#1150)
Browse files Browse the repository at this point in the history
* Add audit label enforcement to CI

* Use D2-notlive and D3-trivial for labels
  • Loading branch information
notlesh authored Feb 24, 2022
1 parent 75e741e commit 17c587f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/enforce-pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@ on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
enforce-noteworthiness-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@2.2.0
with:
REQUIRED_LABELS_ANY: "B0-silent,B5-clientnoteworthy,B7-runtimenoteworthy"
REQUIRED_LABELS_ALL: ""
BANNED_LABELS: ""
enforce-auditability-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@2.2.0
with:
REQUIRED_LABELS_ANY: "D1-audited,D5-nicetohaveaudit,D9-needsaudit,D2-notlive,D3-trivial"
REQUIRED_LABELS_ALL: ""
BANNED_LABELS: ""

0 comments on commit 17c587f

Please sign in to comment.