From 7170fadff8f2b3444db3c9c48c63bb1a6235e255 Mon Sep 17 00:00:00 2001 From: zomars Date: Mon, 4 Jul 2022 13:16:01 -0600 Subject: [PATCH] Adds pull request labeler --- .github/labeler.yml | 5 +++++ .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..92f152dd7f --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,5 @@ +autoupdate: + - apps/web/public/static/locales/**/*.json + +automerge: + - apps/web/public/static/locales/**/*.json diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..356bbb9111 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: "Pull Request Labeler" +on: + - pull_request_target + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"