]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
github: autolabel PRs 38049/head
authorErnesto Puerta <epuertat@redhat.com>
Thu, 12 Nov 2020 17:07:44 +0000 (18:07 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Thu, 12 Nov 2020 18:06:28 +0000 (19:06 +0100)
... starting with dashboard ones.

Requires https://github.com/marketplace/actions/labeler

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
.github/CODEOWNERS
.github/labeler.yml [new file with mode: 0644]
.github/workflows/labeler.yml [new file with mode: 0644]

index 3ceb08090423e16c602383153d7d2b2b057191f6..23749a1d38c99710d8631c06e62bea071047b814 100644 (file)
@@ -3,8 +3,7 @@
 /qa/suites/rados/dashboard                      @ceph/dashboard
 /qa/tasks/mgr/test_dashboard.py                 @ceph/dashboard
 /qa/tasks/mgr/dashboard                         @ceph/dashboard
-/monitoring/grafana                             @ceph/dashboard
-/monitoring/prometheus                          @ceph/dashboard
+/monitoring                                     @ceph/dashboard
 /doc/mgr/dashboard.rst                          @ceph/dashboard
 
 # Dashboard API team
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644 (file)
index 0000000..d4f9158
--- /dev/null
@@ -0,0 +1,10 @@
+dashboard:
+  - /src/pybind/mgr/dashboard/**
+  - /qa/suites/rados/dashboard/**
+  - /qa/tasks/mgr/test_dashboard.py
+  - /qa/tasks/mgr/dashboard/**
+  - /monitoring/**
+  - /doc/mgr/dashboard.rst
+
+CI:
+  - /.github/**
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644 (file)
index 0000000..23956a0
--- /dev/null
@@ -0,0 +1,11 @@
+name: "Pull Request Labeler"
+on:
+- pull_request_target
+
+jobs:
+  triage:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/labeler@main
+      with:
+        repo-token: "${{ secrets.GITHUB_TOKEN }}"