mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01: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:
parent
d8ad4e902c
commit
4974143745
1 changed files with 2 additions and 2 deletions
4
.github/workflows/pull_request_triage.yml
vendored
4
.github/workflows/pull_request_triage.yml
vendored
|
@ -1,13 +1,13 @@
|
||||||
on: pull_request
|
on: pull_request
|
||||||
name: Triage Pull Request
|
name: Triage Pull Request
|
||||||
jobs:
|
jobs:
|
||||||
mainJob:
|
triage:
|
||||||
name: Triage
|
name: Triage
|
||||||
if: github.event.action == 'opened' || github.event.action == 'synchronize'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
if: github.event.action == 'opened' || github.event.action == 'synchronize'
|
||||||
- name: Analyze and triage
|
- name: Analyze and triage
|
||||||
uses: ohmyzsh/github-actions/pull-request-triage@master
|
uses: ohmyzsh/github-actions/pull-request-triage@master
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue