From 6987abd16ed449ded3659de89737affeebcc3e3c Mon Sep 17 00:00:00 2001 From: Mark Oude Elberink Date: Wed, 9 Jun 2021 02:34:23 +0200 Subject: [PATCH] Optimize english please actions (#125154) --- .github/workflows/english-please.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/english-please.yml b/.github/workflows/english-please.yml index a11a9a357c6..48e675a1804 100644 --- a/.github/workflows/english-please.yml +++ b/.github/workflows/english-please.yml @@ -7,19 +7,17 @@ on: jobs: main: runs-on: ubuntu-latest + if: contains(github.event.issue.labels.*.name, '*english-please') steps: - name: Checkout Actions - if: contains(github.event.issue.labels.*.name, '*english-please') uses: actions/checkout@v2 with: repository: "microsoft/vscode-github-triage-actions" ref: stable path: ./actions - name: Install Actions - if: contains(github.event.issue.labels.*.name, '*english-please') run: npm install --production --prefix ./actions - name: Run English Please - if: contains(github.event.issue.labels.*.name, '*english-please') uses: ./actions/english-please with: appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}