From 9b9456fb1879f87bde49f2daf065da48ff514682 Mon Sep 17 00:00:00 2001 From: alvicsam Date: Fri, 25 Aug 2023 18:13:40 +0200 Subject: [PATCH] add auto-label-issues --- .github/workflows/auto-label-issues.yml | 17 +++++++++++++++++ .../.github/workflows/auto-label-issues.yml | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/auto-label-issues.yml diff --git a/.github/workflows/auto-label-issues.yml b/.github/workflows/auto-label-issues.yml new file mode 100644 index 000000000000..12ffce702cdc --- /dev/null +++ b/.github/workflows/auto-label-issues.yml @@ -0,0 +1,17 @@ +# If the author of the issues is not a contributor to the project, label +# the issue with 'Z0-unconfirmed' + +name: Label New Issues +on: + issues: + types: [opened] + +jobs: + label-new-issues: + runs-on: ubuntu-latest + steps: + - name: Label drafts + uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # 1.0.4 + if: github.event.issue.author_association == 'NONE' + with: + add-labels: "I10-unconfirmed" diff --git a/substrate/.github/workflows/auto-label-issues.yml b/substrate/.github/workflows/auto-label-issues.yml index 629966ed3961..12ffce702cdc 100644 --- a/substrate/.github/workflows/auto-label-issues.yml +++ b/substrate/.github/workflows/auto-label-issues.yml @@ -14,4 +14,4 @@ jobs: uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # 1.0.4 if: github.event.issue.author_association == 'NONE' with: - add-labels: "J2-unconfirmed" + add-labels: "I10-unconfirmed"