File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 2
2
# Licensed under the MIT License. See the LICENSE.
3
3
4
4
# Abstract:
5
- # - This CI is executed when a new commit is created on the main branch or
6
- # on a PR whose head branch is the main branch.
7
- # - However, the CI will not be executed if files not directly related to
8
- # source code maintenance are updated.
5
+ # This CI is executed when a new commit is created on the main branch or
6
+ # on a PR whose head branch is the main branch.
7
+ # However, the CI will not be executed if files not directly related to
8
+ # source code maintenance are updated.
9
9
10
10
name : Files CI
11
11
14
14
branches :
15
15
- main
16
16
paths-ignore :
17
- - ' specs/**'
17
+ - ' assets/**'
18
+ - ' builds/**'
19
+ - ' docs/**'
18
20
- ' *.md'
19
21
pull_request :
20
22
paths-ignore :
21
- - ' specs/**'
23
+ - ' assets/**'
24
+ - ' builds/**'
25
+ - ' docs/**'
22
26
- ' *.md'
23
27
24
28
run-name : ${{ github.event_name == 'pull_request' && 'Files PR Validation' || 'Files CI Validation' }}
42
46
jobs :
43
47
44
48
check-formatting :
49
+
50
+ if : github.repository_owner == 'files-community'
51
+
45
52
runs-on : ubuntu-latest
46
53
defaults :
47
54
run :
76
83
run : exit 1
77
84
78
85
build :
86
+
87
+ if : github.repository_owner == 'files-community'
88
+
79
89
runs-on : windows-latest
80
90
strategy :
81
91
fail-fast : false
@@ -174,7 +184,9 @@ jobs:
174
184
path : ${{ env.ARTIFACTS_STAGING_DIR }}
175
185
176
186
test :
177
- if : always()
187
+
188
+ if : github.repository_owner == 'files-community' && always()
189
+
178
190
needs : [build]
179
191
runs-on : windows-latest
180
192
strategy :
You can’t perform that action at this time.
0 commit comments