Skip to content

Commit

Permalink
Enforcing CherryPick labels on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jyejare authored and JacobCallahan committed Jul 19, 2022
1 parent 6a9dd0e commit 8752c88
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/required_labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CI jobs to check specific labels present / absent
name: required_labels

on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]

jobs:
cherrypick_label:
name: Enforcing cherrypick labels
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v2
with:
mode: exactly
count: 1
labels: "CherryPick, No-CherryPick"

0 comments on commit 8752c88

Please sign in to comment.