File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 44
44
relevant_paths : ${{ steps.check_paths.outputs.value }}
45
45
labels : ${{ steps.get_labels.outputs.labels }}
46
46
steps :
47
- - id : check_paths
47
+ - name : Check files modified by PR
48
+ id : check_paths
48
49
run : |
49
50
paths=(
50
51
components/eamxx
@@ -74,14 +75,15 @@ jobs:
74
75
echo "No relevant files touched by this PR."
75
76
echo "value=false" >> $GITHUB_OUTPUT
76
77
fi
77
- - id : get_labels
78
+ - name : Retrieve PR labels
79
+ id : get_labels
78
80
run : |
79
81
labels="${{ join(github.event.pull_request.labels.*.name, ',') }}"
80
82
echo "labels=${labels}" >> $GITHUB_OUTPUT
81
83
gcc-openmp :
82
84
needs : [pre_process_pr]
83
85
if : |
84
- github.event_name == 'schedule' ||
86
+ success() && github.event_name == 'schedule' ||
85
87
(
86
88
github.event_name == 'pull_request' &&
87
89
needs.pre_process_pr.outputs.relevant_paths=='true' &&
@@ -128,7 +130,7 @@ jobs:
128
130
gcc-cuda :
129
131
needs : [pre_process_pr]
130
132
if : |
131
- github.event_name == 'schedule' ||
133
+ success() && github.event_name == 'schedule' ||
132
134
(
133
135
github.event_name == 'pull_request' &&
134
136
needs.pre_process_pr.outputs.relevant_paths=='true' &&
Original file line number Diff line number Diff line change 28
28
relevant_paths : ${{ steps.check_paths.outputs.value}}
29
29
labels : ${{ steps.get_labels.outputs.labels }}
30
30
steps :
31
- - id : check_paths
31
+ - name : Check files modified by PR
32
+ id : check_paths
32
33
run : |
33
34
paths=(
34
35
components/eamxx/scripts
53
54
echo "No relevant files touched by this PR."
54
55
echo "value=false" >> $GITHUB_OUTPUT
55
56
fi
56
- - id : get_labels
57
+ - name : Retrieve PR labels
58
+ id : get_labels
57
59
run : |
58
60
labels="${{ join(github.event.pull_request.labels.*.name, ',') }}"
59
61
echo "labels=${labels}" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 36
36
relevant_paths : ${{ steps.check_paths.outputs.value }}
37
37
labels : ${{ steps.get_labels.outputs.labels }}
38
38
steps :
39
- - id : check_paths
39
+ - name : Check files modified by PR
40
+ id : check_paths
40
41
run : |
41
42
paths=(
42
43
components/eamxx
66
67
echo "No relevant files touched by this PR."
67
68
echo "value=false" >> $GITHUB_OUTPUT
68
69
fi
69
- - id : get_labels
70
+ - name : Retrieve PR labels
71
+ id : get_labels
70
72
run : |
71
73
labels="${{ join(github.event.pull_request.labels.*.name, ',') }}"
72
74
echo "labels=${labels}" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments