Skip to content

Commit 04e91d6

Browse files
Trigger only actions in presence of label
1 parent 5e89cb9 commit 04e91d6

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/regression.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
name: regression
22

33
# start job only for PRs when a label is added.
4-
on: push
5-
# pull_request:
6-
# types: [labeled]
4+
on:
5+
pull_request:
6+
types: [labeled]
77

88
jobs:
99
regresstion:
10-
# if: contains(github.event.pull_request.labels.*.name, 'run-regression')
10+
if: contains(github.event.pull_request.labels.*.name, 'run-regression')
1111
name: regression
1212
runs-on: pineko-stbc3
1313

14-
# container:
15-
# image: ghcr.io/nnpdf/lhapdf:v2
16-
# credentials:
17-
# username: ${{ github.repository_owner }}
18-
# password: ${{ github.token }}
19-
2014
steps:
2115
- uses: actions/checkout@v2
2216
with:

0 commit comments

Comments
 (0)