From b9f49081cbe601f6f0bff2abad5d36b69c2c1162 Mon Sep 17 00:00:00 2001 From: SaranHiruthikM Date: Sat, 16 May 2026 18:38:02 +0530 Subject: [PATCH 1/3] added files to do the automatic pr labelling --- .github/labeler.yml | 11 +++++++++++ .github/workflows/label.yml | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..5006bec --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +# Add 'frontend' label to any change within the 'frontend' folder +frontend: + - "frontend/**" + +# Add 'backend' label to any change within the 'server' folder +backend: + - "server/**" + +# Add 'docs' label to any markdown files +docs: + - "**/*.md" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000..3b2c139 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,16 @@ +name: "Pull Request Labeler" +on: + pull_request_target: + types: [opened, synchronize, reopened] + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true From 66f1eea220d9004fa488a8a1169496b3be64f2c7 Mon Sep 17 00:00:00 2001 From: SaranHiruthikM Date: Sat, 16 May 2026 18:43:51 +0530 Subject: [PATCH 2/3] added files to do the automatic pr labelling - update --- .github/labeler.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 5006bec..2726a70 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,11 +1,11 @@ -# Add 'frontend' label to any change within the 'frontend' folder -frontend: +# Add 'Frontend' label to any change within the 'frontend' folder +Frontend: - "frontend/**" # Add 'backend' label to any change within the 'server' folder backend: - "server/**" -# Add 'docs' label to any markdown files -docs: +# Add 'documentation' label to any markdown files +documentation: - "**/*.md" From 692d46c11a6e0c9cb1e2bcd4a4770ad70a2003b2 Mon Sep 17 00:00:00 2001 From: SaranHiruthikM Date: Sat, 16 May 2026 18:54:51 +0530 Subject: [PATCH 3/3] added files to do the automatic pr labelling - update --- .github/labeler.yml | 9 ++++++--- .github/workflows/label.yml | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 2726a70..48dd293 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,11 +1,14 @@ # Add 'Frontend' label to any change within the 'frontend' folder Frontend: - - "frontend/**" + - changed-files: + - any-glob-to-any-file: "frontend/**" # Add 'backend' label to any change within the 'server' folder backend: - - "server/**" + - changed-files: + - any-glob-to-any-file: "server/**" # Add 'documentation' label to any markdown files documentation: - - "**/*.md" + - changed-files: + - any-glob-to-any-file: "**/*.md" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 3b2c139..995ef21 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -10,7 +10,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v6.1.0 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: true