From 4974143745360bfbfde535eab23df27daa8e3c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Tue, 13 Aug 2019 15:10:15 +0200 Subject: [PATCH] meta: move if condition on workflow to steps Provisional measure due to "Unexpected value 'if'" error. See https://github.community/t5/GitHub-API-Development-and/jobs-lt-job-id-gt-if-not-working/m-p/28980 --- .github/workflows/pull_request_triage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request_triage.yml b/.github/workflows/pull_request_triage.yml index 341298a0f..a27392a92 100644 --- a/.github/workflows/pull_request_triage.yml +++ b/.github/workflows/pull_request_triage.yml @@ -1,13 +1,13 @@ on: pull_request name: Triage Pull Request jobs: - mainJob: + triage: name: Triage - if: github.event.action == 'opened' || github.event.action == 'synchronize' runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@master + if: github.event.action == 'opened' || github.event.action == 'synchronize' - name: Analyze and triage uses: ohmyzsh/github-actions/pull-request-triage@master env: