From: Flole998 Date: Sat, 17 Feb 2024 13:54:58 +0000 (+0000) Subject: Add automatic labels to PRs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d85be496a68a8e946c8c21754657f407fa52c04e;p=thirdparty%2Ftvheadend.git Add automatic labels to PRs --- diff --git a/.github/pr-prefix-labeler.yml b/.github/pr-prefix-labeler.yml new file mode 100644 index 000000000..b124288da --- /dev/null +++ b/.github/pr-prefix-labeler.yml @@ -0,0 +1,2 @@ +"ci": "CI" +"transifex": "TRANSLATION" \ No newline at end of file diff --git a/.github/workflows/label-prs.yml b/.github/workflows/label-prs.yml new file mode 100644 index 000000000..0e454a486 --- /dev/null +++ b/.github/workflows/label-prs.yml @@ -0,0 +1,13 @@ +name: "Pull Request Labeler" +on: + pull_request_target: + types: [opened, synchronize, reopened, edited] + +jobs: + pr-labeler: + runs-on: ubuntu-latest + steps: + - name: Label the PR + uses: gerrymanoim/pr-prefix-labeler@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file