From 08d03cc7a2f6a68d610bd14c92d179f20e9faa6a Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Fri, 30 Sep 2022 17:43:13 -0500 Subject: [PATCH] Add labeler workflow. --- .github/labaler.yml | 26 ++++++++++++++++++++++++++ .github/workflows/labaler.yml | 14 ++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/labaler.yml create mode 100644 .github/workflows/labaler.yml diff --git a/.github/labaler.yml b/.github/labaler.yml new file mode 100644 index 00000000..fe3f3e31 --- /dev/null +++ b/.github/labaler.yml @@ -0,0 +1,26 @@ +documentation: + - docs/* + +extras: + - extras/* + - extras/**/* + +sources: + - src/* + - src/**/* + +tests: + - tests/**/* + - tests/* + +web: + - web/* + - web/**/* + +appimage: + - appimage/* + - appimage/**/* + +3rdparty: + - 3rdparty/* + - 3rdparty/**/* diff --git a/.github/workflows/labaler.yml b/.github/workflows/labaler.yml new file mode 100644 index 00000000..356bbb91 --- /dev/null +++ b/.github/workflows/labaler.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 }}"