Skip to content

Commit

Permalink
Update Breakage.yml to only run with appropriate label applied
Browse files Browse the repository at this point in the history
  • Loading branch information
nHackel authored Nov 5, 2024
1 parent 6361ade commit 21141bb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/Breakage.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Breakage
# Based on: https://github.com/JuliaSmoothOptimizers/LinearOperators.jl/blob/main/.github/workflows/Breakage.yml
on:
pull_request:
branches:
- main
pull_request:
branches:
- main
types: [opened, reopened, labeled, synchronize]


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

0 comments on commit 21141bb

Please sign in to comment.