From 1231ee6314ccd24fafdd3f279b075eb1f07177a0 Mon Sep 17 00:00:00 2001 From: Roman Zabaluev Date: Wed, 19 Jan 2022 14:13:49 +0300 Subject: [PATCH] Update triage labelling configuration --- .../workflows/{triage.yml => triage_issues.yml} | 6 +++--- .github/workflows/triage_prs.yml | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) rename .github/workflows/{triage.yml => triage_issues.yml} (72%) create mode 100644 .github/workflows/triage_prs.yml diff --git a/.github/workflows/triage.yml b/.github/workflows/triage_issues.yml similarity index 72% rename from .github/workflows/triage.yml rename to .github/workflows/triage_issues.yml index 3020a71c04..8009a2a64b 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage_issues.yml @@ -1,13 +1,13 @@ -name: Triage label new issues +name: Add triage label to new issues on: issues: types: - opened jobs: - triage_label_issues: + triage_issues: runs-on: ubuntu-latest steps: - - name: Label issues + - name: Label issue uses: andymckay/labeler@master with: add-labels: "status/triage" diff --git a/.github/workflows/triage_prs.yml b/.github/workflows/triage_prs.yml new file mode 100644 index 0000000000..90d7693603 --- /dev/null +++ b/.github/workflows/triage_prs.yml @@ -0,0 +1,14 @@ +name: Add triage label to new PRs +on: + pull_request: + types: + - opened +jobs: + triage_prs: + runs-on: ubuntu-latest + steps: + - name: Label PR + uses: andymckay/labeler@master + with: + add-labels: "status/triage" + ignore-if-labeled: true