Skip to content

Commit f2fb32b

Browse files
authored
Merge pull request #11 from JuliaImageRecon/optionalBreakage
Update Breakage.yml to only run with appropriate label applied
2 parents 6361ade + 21141bb commit f2fb32b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/Breakage.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: Breakage
22
# Based on: https://github.com/JuliaSmoothOptimizers/LinearOperators.jl/blob/main/.github/workflows/Breakage.yml
33
on:
4-
pull_request:
5-
branches:
6-
- main
4+
pull_request:
5+
branches:
6+
- main
7+
types: [opened, reopened, labeled, synchronize]
8+
79

810
jobs:
911
break:
12+
if: ${{ contains(github.event.pull_request.labels.*.name, 'breakage') }}
1013
runs-on: ubuntu-latest
1114
strategy:
1215
fail-fast: false
@@ -71,4 +74,4 @@ jobs:
7174
global TAG = chomp(read(`git rev-parse --short HEAD`, String))
7275
end
7376
pkg"build";
74-
pkg"test";'
77+
pkg"test";'

0 commit comments

Comments
 (0)