File tree Expand file tree Collapse file tree 1 file changed +23
-7
lines changed
Expand file tree Collapse file tree 1 file changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,6 @@ name: PHPUnit 32bits
44
55on :
66 pull_request :
7- paths :
8- - " version.php"
9- - " .github/workflows/phpunit-32bits.yml"
10- - " tests/phpunit-autotest.xml"
11- - " lib/private/Snowflake/*"
12- workflow_dispatch :
137 schedule :
148 - cron : " 15 1 * * 1-6"
159
@@ -21,10 +15,32 @@ concurrency:
2115 cancel-in-progress : true
2216
2317jobs :
18+ changes :
19+ runs-on : ubuntu-latest-low
20+ permissions :
21+ contents : read
22+ pull-requests : read
23+
24+ outputs :
25+ src : ${{ steps.changes.outputs.src}}
26+
27+ steps :
28+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
29+ id : changes
30+ continue-on-error : true
31+ with :
32+ filters : |
33+ src:
34+ - '.github/workflows/phpunit-32bits.yml'
35+ - '3rdparty/**'
36+ - '**/lib/**'
37+ - '**.php'
38+
2439 phpunit-32bits :
2540 runs-on : ubuntu-latest
2641
27- if : ${{ github.repository_owner != 'nextcloud-gmbh' }}
42+ needs : changes
43+ if : needs.changes.outputs.src != 'false'
2844
2945 strategy :
3046 fail-fast : false
You can’t perform that action at this time.
0 commit comments