summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorPhilip H <47042125+pheiduck@users.noreply.github.com>2023-08-19 14:30:47 +0200
committerChristian Brabandt <cb@256bit.org>2023-08-19 14:45:26 +0200
commit6d192a4ac9ba600ec28eb86d2cc45dea67f5922b (patch)
tree5ad8452bb2b94c9cd117a82f4c7d128ae998f2ff /.github/workflows
parentb23db545ce7cb09ab08f1c5bfde97f44da2e8d00 (diff)
patch 9.0.1748: CI: cannot label issues automaticallyv9.0.1748
Problem: CI: cannot label issues automatically Solution: Create CI labeler closes: #12788 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/label.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml
new file mode 100644
index 0000000000..be44c11ec4
--- /dev/null
+++ b/.github/workflows/label.yml
@@ -0,0 +1,23 @@
+# This workflow will triage pull requests and apply a label based on the
+# paths that are modified in the pull request.
+#
+# To use this workflow, you will need to set up a .github/labeler.yml
+# file with configuration. For more information, see:
+# https://github.com/actions/labeler
+
+name: Labeler
+on: [pull_request_target]
+
+jobs:
+ label:
+
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: write
+
+ steps:
+ - uses: actions/labeler@v4
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ sync-labels: ''