Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmruz Hossain <hossainemruz@gmail.com>2020-12-02 20:32:24 +0300
committerGitHub <noreply@github.com>2020-12-02 20:32:24 +0300
commit0e97501057f520cbb606c5d1a62cd2653406c636 (patch)
treefacd404cbfc0ae0e219b46e3fe54805bbb101c5b
parentb66863b12c4d67422e5a09fbd0fd43f5480adf0d (diff)
Add label enforcer workflow (#178)
-rw-r--r--.github/workflows/enforce-label.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/enforce-label.yml b/.github/workflows/enforce-label.yml
new file mode 100644
index 0000000..e4f5c5f
--- /dev/null
+++ b/.github/workflows/enforce-label.yml
@@ -0,0 +1,13 @@
+name: Enforce Labels
+
+on:
+ pull_request:
+ types: [labeled, unlabeled, opened, edited, synchronize]
+jobs:
+ enforce-label:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: yogevbd/enforce-label-action@2.1.0
+ with:
+ REQUIRED_LABELS_ANY: "automerge,breaking-change,bug-fix,enhancement,feature,translation"
+ REQUIRED_LABELS_ANY_DESCRIPTION: "The PR must have at least one these labels: ['automerge','breaking-change','bug-fix','enhancement','feature','translation']"