mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-22 04:40:01 +00:00
chore: add check for no-fail-fast label
This commit is contained in:
parent
f5d275f622
commit
6758abc8c0
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
tags: ["**"]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
types: [labeled, opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -19,8 +20,9 @@ jobs:
|
||||
# Don't fast-fail on tag build because publishing binaries shouldn't be
|
||||
# prevented if 'cargo publish' fails (which can be a false negative).
|
||||
fail-fast:
|
||||
${{ github.event_name == 'pull_request' || (github.ref !=
|
||||
'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')) }}
|
||||
${{ (github.event_name == 'pull_request' || (github.ref !=
|
||||
'refs/heads/main' && !startsWith(github.ref, 'refs/tags/'))) &&
|
||||
!contains(github.event.pull_request.labels.*.name, 'no-fail-fast') }}
|
||||
matrix:
|
||||
config:
|
||||
- os: macOS-latest
|
||||
|
Loading…
Reference in New Issue
Block a user