From: Ernesto Puerta Date: Thu, 12 Nov 2020 17:07:44 +0000 (+0100) Subject: github: autolabel PRs X-Git-Tag: v14.2.18~4^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2e17da5be1844cf79fb7068f71f2a91ba2e450f8;p=ceph.git github: autolabel PRs ... starting with dashboard ones. Requires https://github.com/marketplace/actions/labeler Signed-off-by: Ernesto Puerta (cherry picked from commit 298bc67f7b8d1c64520b543f4749b29f7be67379) Conflicts: .github/CODEOWNERS: drop change in .github/CODEOWNERS as we don't have this file in nautilus. --- diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000..d4f91584cb1 --- /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 00000000000..23956a02fbd --- /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 }}"