]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
github: add labeler
authorKarel Zak <kzak@redhat.com>
Tue, 5 Dec 2023 14:55:31 +0000 (15:55 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Dec 2023 09:11:58 +0000 (10:11 +0100)
For more details see https://github.com/actions/labeler

Signed-off-by: Karel Zak <kzak@redhat.com>
.github/labeler.yml [new file with mode: 0644]
.github/workflows/labeler.yml [new file with mode: 0644]

diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644 (file)
index 0000000..c5345d4
--- /dev/null
@@ -0,0 +1,2 @@
+STABLE:
+ - base-branch: 'stable/.*'
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644 (file)
index 0000000..e57cd86
--- /dev/null
@@ -0,0 +1,12 @@
+name: "Pull Request Labeler"
+on:
+- pull_request_target
+
+jobs:
+  labeler:
+    permissions:
+      contents: read
+      pull-requests: write
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/labeler@v5