From 8518f9a5e5738f79fcb410bf165ccfb85e2fd573 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Feb 2026 08:59:44 +0000 Subject: [PATCH 1/2] Initial plan From 0ae437afd4b02a0a6944a8e6d0a55292ef8a541b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Feb 2026 09:01:39 +0000 Subject: [PATCH 2/2] Fix Auto Label PRs: update labeler.yml to actions/labeler@v5 schema Co-authored-by: naheel0 <191262736+naheel0@users.noreply.github.com> --- .github/labeler.yml | 17 +++++++++++++++++ .github/workflows/labeler.yml | 21 +++++++++++++++++++++ 2 files changed, 38 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 0000000..ea64d6c --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,17 @@ +# Auto-label rules based on files changed in a PR + +first-contribution: + - changed-files: + - any-glob-to-any-file: + - "Contributors.md" + +documentation: + - changed-files: + - any-glob-to-any-file: + - "*.md" + - "docs/**" + +github-config: + - changed-files: + - any-glob-to-any-file: + - ".github/**" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..a222c3b --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,21 @@ +name: Auto Label PRs + +on: + pull_request: + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: write + +jobs: + label: + runs-on: ubuntu-latest + steps: + - name: Auto Label + uses: actions/labeler@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + configuration-path: .github/labeler.yml + sync-labels: false + dot: true