From: Ernesto Puerta Date: Thu, 12 Nov 2020 17:07:44 +0000 (+0100) Subject: github: autolabel PRs X-Git-Tag: v16.1.0~621^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=298bc67f7b8d1c64520b543f4749b29f7be67379;p=ceph.git github: autolabel PRs ... starting with dashboard ones. Requires https://github.com/marketplace/actions/labeler Signed-off-by: Ernesto Puerta --- diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3ceb08090423..23749a1d38c9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 index 000000000000..d4f91584cb12 --- /dev/null +++ b/.github/labeler.yml @@ -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 index 000000000000..23956a02fbdc --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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 }}"