From 29a86443fe4a05012fc0b01659c9156679a95a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Fri, 1 Jan 2021 23:01:08 +0100 Subject: [PATCH 1/2] chore: add auto labeling to PRs [skip release] --- .github/labeler.yaml | 21 +++++++++++++++++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/labeler.yaml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yaml b/.github/labeler.yaml new file mode 100644 index 0000000000..3c6281559c --- /dev/null +++ b/.github/labeler.yaml @@ -0,0 +1,21 @@ +test: + - test/**/*.js + +documentation: + - www/**/* + - ./**/*.md + +providers: + - src/providers/**/* + - www/docs/configuration/providers.md + - test/integration/**/* + +adapters: + - src/adapters/**/* + - www/docs/schemas/adapters.md + +databases: + - www/docs/schemas/*.md + - test/docker/databases/**/* + - www/docs/configuration/databases.md + - test/fixtures/**/* \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..3ff1d63fb2 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +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 }}" + sync-labels: true \ No newline at end of file From 0bd7591130c2bef104e5e819646134c1fd144648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Fri, 1 Jan 2021 23:03:39 +0100 Subject: [PATCH 2/2] chore: allow any file type for test label to be added --- .github/labeler.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/labeler.yaml b/.github/labeler.yaml index 3c6281559c..4837ece38d 100644 --- a/.github/labeler.yaml +++ b/.github/labeler.yaml @@ -1,5 +1,5 @@ test: - - test/**/*.js + - test/**/* documentation: - www/**/*