mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-28 13:11:58 +00:00
only run after the actually (and non skipped) workflow
This commit is contained in:
parent
6598da434e
commit
b965d7b8e2
1 changed files with 6 additions and 2 deletions
8
.github/workflows/update-pr-artifacts.yml
vendored
8
.github/workflows/update-pr-artifacts.yml
vendored
|
|
@ -1,13 +1,17 @@
|
|||
name: update-pr-artifacts
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [validate]
|
||||
workflows: [validate-external, validate-internal]
|
||||
types:
|
||||
- completed
|
||||
jobs:
|
||||
update-pr-artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.workflow_run.event == 'pull_request'
|
||||
if: |
|
||||
github.event.workflow_run.event == 'pull_request' &&
|
||||
github.event.workflow_run.conclusion == 'success' &&
|
||||
(github.event.workflow_run.name == 'validate-external' ||
|
||||
github.event.workflow_run.name == 'validate-internal')
|
||||
name: Update PR Artifacts
|
||||
steps:
|
||||
- name: Get PR Number
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue