diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..46a1206f2 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,31 @@ +application: +- changed-files: + - any-glob-to-any-file: + - repo/** + +ci: +- changed-files: + - any-glob-to-any-file: + - .github/** + +configs: +- changed-files: + - any-glob-to-any-file: + - configs/** + +dependencies: +- changed-files: + - any-glob-to-any-file: + - .github/worklflows/requirements/** + - pyproject.toml + +docs: +- changed-files: + - any-glob-to-any-file: + - docs/** + - README.rst + +experiment: +- changed-files: + - any-glob-to-any-file: + - experiments/** diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 000000000..8a5a17c4e --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,21 @@ +#----------------------------------------------------------------------- +# DO NOT modify unless you really know what you are doing. +# +# See https://stackoverflow.com/a/74959635 for more info. +# Talk to @alecbcs if you have questions/are not sure of a change's +# possible impact to security. +#----------------------------------------------------------------------- +name: label +on: + pull_request_target: + branches: + - develop + +jobs: + pr: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9