From fc336c97d974d3630a1ba809b64d6957bdc81ff4 Mon Sep 17 00:00:00 2001 From: Jackson Kearl Date: Fri, 5 Feb 2021 15:07:22 -0800 Subject: [PATCH] allow \closedWith comment to add unreleaded label itself --- .github/workflows/{commands.yml => on-comment.yml} | 9 ++++++++- .github/workflows/on-label.yml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) rename .github/workflows/{commands.yml => on-comment.yml} (65%) diff --git a/.github/workflows/commands.yml b/.github/workflows/on-comment.yml similarity index 65% rename from .github/workflows/commands.yml rename to .github/workflows/on-comment.yml index f7faf5db6bc..8d661336a89 100644 --- a/.github/workflows/commands.yml +++ b/.github/workflows/on-comment.yml @@ -1,4 +1,4 @@ -name: Commands +name: On Comment on: issue_comment: types: [created] @@ -22,3 +22,10 @@ jobs: appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}} token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}} config-path: commands + - name: "Run Release Pipeline Labeler" + uses: ./actions/release-pipeline + with: + token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}} + appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}} + notYetReleasedLabel: unreleased + insidersReleasedLabel: insiders-released diff --git a/.github/workflows/on-label.yml b/.github/workflows/on-label.yml index 4be8417a858..9d62de8e57c 100644 --- a/.github/workflows/on-label.yml +++ b/.github/workflows/on-label.yml @@ -29,7 +29,7 @@ jobs: authorVerificationRequestedLabel: author-verification-requested - # source of truth in ./commands.yml + # also make changes in ./on-comment.yml - name: Run Commands uses: ./actions/commands with: