0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-21 15:04:33 -05:00

chore: add check for no-fail-fast label

This commit is contained in:
McKayla Washburn 2022-06-27 11:00:11 -06:00
parent f5d275f622
commit 6758abc8c0

View file

@ -1,11 +1,12 @@
name: ci name: ci
on: on:
push: push:
branches: [main] branches: [main]
tags: ["**"] tags: ["**"]
pull_request: pull_request:
branches: [main] branches: [main]
types: [labeled, opened, synchronize, reopened]
jobs: jobs:
build: build:
@ -19,8 +20,9 @@ jobs:
# Don't fast-fail on tag build because publishing binaries shouldn't be # Don't fast-fail on tag build because publishing binaries shouldn't be
# prevented if 'cargo publish' fails (which can be a false negative). # prevented if 'cargo publish' fails (which can be a false negative).
fail-fast: fail-fast:
${{ github.event_name == 'pull_request' || (github.ref != ${{ (github.event_name == 'pull_request' || (github.ref !=
'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')) }} 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/'))) &&
!contains(github.event.pull_request.labels.*.name, 'no-fail-fast') }}
matrix: matrix:
config: config:
- os: macOS-latest - os: macOS-latest