1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-21 11:51:57 +00:00

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
This commit is contained in:
Marc Cornellà 2019-08-13 15:10:15 +02:00 committed by GitHub
parent d8ad4e902c
commit 4974143745
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: