From be3d822c11d823a112cbac0450e58dc8581ec5c6 Mon Sep 17 00:00:00 2001 From: Joshua Kitenge Date: Thu, 12 Sep 2024 10:29:26 +0000 Subject: [PATCH] fix bug #806 --- .github/workflows/ci-build.yml | 5 ----- .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/labeler.yml diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 2898dc150..c42b9c977 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -13,11 +13,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check PR title - uses: actions/labeler@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - name: Checkout repo uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..3db6a197d --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: 'Pull Request Labeler' +on: + - pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}