]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Add label checker GitHub Action (#12004)
authorSebastián Ramírez <tiangolo@gmail.com>
Tue, 13 Aug 2024 04:54:14 +0000 (23:54 -0500)
committerGitHub <noreply@github.com>
Tue, 13 Aug 2024 04:54:14 +0000 (23:54 -0500)
.github/workflows/label-checker.yml [new file with mode: 0644]

diff --git a/.github/workflows/label-checker.yml b/.github/workflows/label-checker.yml
new file mode 100644 (file)
index 0000000..20e9704
--- /dev/null
@@ -0,0 +1,19 @@
+name: Label Checker
+on:
+  pull_request:
+    types:
+      - opened
+      - synchronize
+      - reopened
+      - labeled
+      - unlabeled
+
+jobs:
+  check_labels:
+    name: Check labels
+    runs-on: ubuntu-latest
+    steps:
+      - uses: docker://agilepathway/pull-request-label-checker:latest
+        with:
+          one_of: breaking,security,feature,bug,refactor,upgrade,docs,lang-all,internal
+          repo_token: ${{ secrets.GITHUB_TOKEN }}