4974143745360bfbfde535eab23df27daa8e3c8f

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

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

Diff

 1diff --git a/.github/workflows/pull_request_triage.yml b/.github/workflows/pull_request_triage.yml
 2index 341298a0f63e0cf9e86c00eb505bfb4b5559670e..a27392a924bfae662b1ae4ac17c1ba72f86e957b 100644
 3--- a/.github/workflows/pull_request_triage.yml
 4+++ b/.github/workflows/pull_request_triage.yml
 5@@ -1,13 +1,13 @@
 6 on: pull_request
 7 name: Triage Pull Request
 8 jobs:
 9-  mainJob:
10+  triage:
11     name: Triage
12-    if: github.event.action == 'opened' || github.event.action == 'synchronize'
13     runs-on: ubuntu-latest
14     steps:
15     - name: Checkout
16       uses: actions/checkout@master
17+      if: github.event.action == 'opened' || github.event.action == 'synchronize'
18     - name: Analyze and triage
19       uses: ohmyzsh/github-actions/pull-request-triage@master
20       env: