mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 19:37:15 +00:00
Bug 1918284 [wpt PR 48112] - Make the Safari workflows not be invalid workflow files, a=testonly
Automatic update from web-platform-tests Make the Safari workflows not be invalid workflow files We can't put a YAML comment within a string, it needs to be actual YAML syntax. -- wpt-commits: 9326ce54c0cebf4fca58c2b51ab263421bdea44e wpt-pr: 48112
This commit is contained in:
parent
2256acf60f
commit
42a6bce6d7
@ -33,10 +33,10 @@ jobs:
|
||||
safari-stable-results:
|
||||
name: "All Tests: Safari (stable)"
|
||||
needs: check-workflow-run
|
||||
# We need always() here to then check for success/skipped from the
|
||||
# dependency, as otherwise the skip cascades. See
|
||||
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow#defining-prerequisite-jobs.
|
||||
if: |
|
||||
# We need always() here to then check for success/skipped from the dependency, as otherwise
|
||||
# the skip cascades. See
|
||||
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow#defining-prerequisite-jobs.
|
||||
always() &&
|
||||
(needs.check-workflow-run.result == 'success' || needs.check-workflow-run.result == 'skipped') &&
|
||||
(github.event_name != 'workflow_run' || fromJSON(needs.check-workflow-run.outputs.updated-refs)[0] != null)
|
||||
|
@ -29,10 +29,10 @@ jobs:
|
||||
safari-technology-preview-results:
|
||||
name: "All Tests: Safari Technology Preview"
|
||||
needs: check-workflow-run
|
||||
# We need always() here to then check for success/skipped from the
|
||||
# dependency, as otherwise the skip cascades. See
|
||||
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow#defining-prerequisite-jobs.
|
||||
if: |
|
||||
# We need always() here to then check for success/skipped from the dependency, as otherwise
|
||||
# the skip cascades. See
|
||||
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow#defining-prerequisite-jobs.
|
||||
always() &&
|
||||
(needs.check-workflow-run.result == 'success' || needs.check-workflow-run.result == 'skipped') &&
|
||||
(github.event_name != 'workflow_run' || fromJSON(needs.check-workflow-run.outputs.updated-refs)[0] != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user