This is an automated email from the ASF dual-hosted git repository.
jgemignani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git
The following commit(s) were added to refs/heads/master by this push:
new 3c4d9cc7 Remove labeler github action (#2335)
3c4d9cc7 is described below
commit 3c4d9cc7456703f37d3f2d02e4cc79731b06542a
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Mon Feb 16 22:09:01 2026 +0500
Remove labeler github action (#2335)
- dropped the labeler workflow because `pull_request_target` trigger
can be dangerous and the workflow wasn’t particularly useful.
---
.github/labeler.yml | 26 --------------------------
.github/workflows/labeler.yml | 31 -------------------------------
2 files changed, 57 deletions(-)
diff --git a/.github/labeler.yml b/.github/labeler.yml
deleted file mode 100644
index f860c2b1..00000000
--- a/.github/labeler.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-PG11:
-- base-branch: 'PG11'
-
-PG12:
-- base-branch: 'PG12'
-
-PG13:
-- base-branch: 'PG13'
-
-PG14:
-- base-branch: 'PG14'
-
-PG15:
-- base-branch: 'PG15'
-
-PG16:
-- base-branch: 'PG16'
-
-PG17:
-- base-branch: 'PG17'
-
-PG18:
-- base-branch: 'PG18'
-
-master:
-- base-branch: 'master'
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
deleted file mode 100644
index d5fc8c83..00000000
--- a/.github/workflows/labeler.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: "Pull Request Labeler"
-on:
-- pull_request_target
-
-jobs:
- triage:
- permissions:
- contents: write
- pull-requests: write
- issues: write
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v3
-
- - name: Apply branch labels
- uses: actions/[email protected]
-
- - name: Apply label based on author
- if: |
- contains('["jrgemignani", "dehowef", "eyab" "rafsun42", "Zainab-Saad",
"MuhammadTahaNaveed"]', github.event.pull_request.user.login)
- uses: actions/github-script@v7
- with:
- script: |
- const labelsToAdd = ['override-stale'];
- github.rest.issues.addLabels({
- issue_number: context.issue.number,
- owner: context.repo.owner,
- repo: context.repo.repo,
- labels: labelsToAdd
- });