diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..c7e45b0ff4 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +# Add labels based on file paths in PR +# https://github.com/actions/labeler +common: + - changed-files: + - any-glob-to-any-file: common/** +image: + - changed-files: + - any-glob-to-any-file: image/** +storage: + - changed-files: + - any-glob-to-any-file: storage/** diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..722e54118d --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,13 @@ +# https://github.com/actions/labeler +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5