This is an automated email from the ASF dual-hosted git repository.
jgemignani pushed a commit to branch PG13
in repository https://gitbox.apache.org/repos/asf/age.git
The following commit(s) were added to refs/heads/PG13 by this push:
new a525e889 Add auto apply labeler workflow for PRs (#1174)
a525e889 is described below
commit a525e8897d07e72bbbd1996b211133295a8c5b16
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Thu Aug 24 05:18:18 2023 +0500
Add auto apply labeler workflow for PRs (#1174)
- This workflow will automatically apply labels to PRs based on the
branch name.
- This will help us to filter out PRs intended for a specific branch e.g
PG11, PG12, PG13, PG14, PG15, master and any PR for other ongoing
project branches.
- Currently it supports only PG11, PG12, PG13, PG14, PG15 and master. We
can add more by adding a new entry in the .github/labeler.yml file.
---
.github/labeler.yml | 17 +++++++++++++++++
.github/workflows/labeler.yml | 12 ++++++++++++
2 files changed, 29 insertions(+)
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 00000000..92ab6db8
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,17 @@
+PG11:
+- base-branch: 'PG11'
+
+PG12:
+- base-branch: 'PG12'
+
+PG13:
+- base-branch: 'PG13'
+
+PG14:
+- base-branch: 'PG14'
+
+PG15:
+- base-branch: 'PG15'
+
+master:
+- base-branch: 'master'
\ No newline at end of file
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 00000000..22c21ebe
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,12 @@
+name: "Pull Request Labeler"
+on:
+- pull_request_target
+
+jobs:
+ triage:
+ permissions:
+ contents: read
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/[email protected]
\ No newline at end of file