-
Notifications
You must be signed in to change notification settings - Fork 8
71 lines (69 loc) · 1.99 KB
/
Breakage.yml
File metadata and controls
71 lines (69 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Ref: https://securitylab.github.com/research/github-actions-preventing-pwn-requests
name: Breakage
# read-only repo token
# no access to secrets
on:
pull_request:
types: [labeled, opened, synchronize, reopened]
jobs:
break-pkg:
if: contains(github.event.pull_request.labels.*.name, 'run breakage')
strategy:
fail-fast: false
matrix:
pkgname:
- OptimalControlProblems
- Tutorials
pkgversion:
- latest
- stable
include:
- pkgbreak: test
- pkgbreak: doc
pkgname: Tutorials
- pkgpath: control-toolbox
uses: control-toolbox/CTActions/.github/workflows/breakage.yml@main
with:
pkgname: ${{ matrix.pkgname }}
pkgpath: ${{ matrix.pkgpath }}
pkgversion: ${{ matrix.pkgversion }}
pkgbreak: ${{ matrix.pkgbreak }}
use_ct_registry: true
secrets:
SSH_KEY: ${{ secrets.SSH_KEY }}
break-pkg-app:
if: contains(github.event.pull_request.labels.*.name, 'run breakage applications')
strategy:
fail-fast: false
matrix:
pkgname:
- OptimalControlProblems
- Tutorials
- CalculusOfVariations
- LossControl
- GeometricPreconditioner
- MedicalResonanceImaging
- Kepler
- PWLdynamics
- SIRcontrol
pkgversion:
- latest
- stable
include:
- pkgbreak: doc
- pkgbreak: test
pkgname: OptimalControlProblems
- pkgpath: control-toolbox
- pkgpath: agustinyabo
pkgname: PWLdynamics
- pkgpath: AnasXbouali
pkgname: SIRcontrol
uses: control-toolbox/CTActions/.github/workflows/breakage.yml@main
with:
pkgname: ${{ matrix.pkgname }}
pkgpath: ${{ matrix.pkgpath }}
pkgversion: ${{ matrix.pkgversion }}
pkgbreak: ${{ matrix.pkgbreak }}
use_ct_registry: true
secrets:
SSH_KEY: ${{ secrets.SSH_KEY }}