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 22# Licensed under the MIT License. See the LICENSE.
33
44# 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.
99
1010name : Files CI
1111
1414 branches :
1515 - main
1616 paths-ignore :
17- - ' specs/**'
17+ - ' assets/**'
18+ - ' builds/**'
19+ - ' docs/**'
1820 - ' *.md'
1921 pull_request :
2022 paths-ignore :
21- - ' specs/**'
23+ - ' assets/**'
24+ - ' builds/**'
25+ - ' docs/**'
2226 - ' *.md'
2327
2428run-name : ${{ github.event_name == 'pull_request' && 'Files PR Validation' || 'Files CI Validation' }}
4246jobs :
4347
4448 check-formatting :
49+
50+ if : github.repository_owner == 'files-community'
51+
4552 runs-on : ubuntu-latest
4653 defaults :
4754 run :
7683 run : exit 1
7784
7885 build :
86+
87+ if : github.repository_owner == 'files-community'
88+
7989 runs-on : windows-latest
8090 strategy :
8191 fail-fast : false
@@ -174,7 +184,9 @@ jobs:
174184 path : ${{ env.ARTIFACTS_STAGING_DIR }}
175185
176186 test :
177- if : always()
187+
188+ if : github.repository_owner == 'files-community' && always()
189+
178190 needs : [build]
179191 runs-on : windows-latest
180192 strategy :
You can’t perform that action at this time.
0 commit comments