diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000..2f34bd2231a --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,47 @@ +alice3: +- changed-files: + - any-glob-to-any-file: ['ALICE3/**'] + +common: +- changed-files: + - any-glob-to-any-file: ['Common/**'] + +infrastructure: +- changed-files: + - any-glob-to-any-file: ['.github/**', 'cmake/**', 'dependencies/**', 'packaging/**'] + +dpg: +- changed-files: + - any-glob-to-any-file: ['DPG/**'] + +pwgcf: +- changed-files: + - any-glob-to-any-file: ['PWGCF/**', '*/PWGCF/**'] + +pwgdq: +- changed-files: + - any-glob-to-any-file: ['PWGDQ/**', '*/PWGDQ/**'] + +pwgem: +- changed-files: + - any-glob-to-any-file: ['PWGEM/**', '*/PWGEM/**'] + +pwghf: +- changed-files: + - any-glob-to-any-file: ['PWGHF/**', '*/PWGHF/**'] + +pwgje: +- changed-files: + - any-glob-to-any-file: ['PWGJE/**', '*/PWGJE/**'] + +pwglf: +- changed-files: + - any-glob-to-any-file: ['PWGLF/**', '*/PWGLF/**', 'PWGMM/**', '*/PWGMM/**'] + +pwgud: +- changed-files: + - any-glob-to-any-file: ['PWGUD/**', '*/PWGUD/**'] + +tutorial: +- changed-files: + - any-glob-to-any-file: ['Tutorials/**'] diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000000..cd9eeb9e178 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +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 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}