File tree 8 files changed +28
-7
lines changed
8 files changed +28
-7
lines changed Original file line number Diff line number Diff line change 12
12
release :
13
13
types : [published]
14
14
15
+ permissions :
16
+ contents : write
17
+
15
18
jobs :
16
19
build_and_publish :
17
20
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 9
9
name : Dependabot
10
10
11
11
on :
12
- pull_request_target : # zizmor: ignore[dangerous-triggers]
12
+ pull_request :
13
13
branches :
14
14
- main
15
15
- master
@@ -24,7 +24,7 @@ concurrency:
24
24
25
25
jobs :
26
26
auto-approve-merge :
27
- if : github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]'
27
+ if : github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'renovate[bot]'
28
28
runs-on : ubuntu-latest-low
29
29
permissions :
30
30
# for hmarr/auto-approve-action to approve PRs
Original file line number Diff line number Diff line change 10
10
- master
11
11
- stable*
12
12
13
+ permissions :
14
+ contents : read
15
+
13
16
env :
14
17
APP_NAME : files_accesscontrol
15
18
54
57
55
58
steps :
56
59
- name : Checkout server
57
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
60
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58
61
with :
62
+ persist-credentials : false
59
63
repository : nextcloud/server
60
64
ref : ${{ matrix.server-versions }}
61
65
68
72
cd build/integration && composer require --dev phpunit/phpunit:~9
69
73
70
74
- name : Checkout app
71
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
75
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72
76
with :
77
+ persist-credentials : false
73
78
path : apps/${{ env.APP_NAME }}
74
79
75
80
- name : Set up php ${{ matrix.php-versions }}
Original file line number Diff line number Diff line change 70
70
matrix :
71
71
php-versions : ${{ fromJson(needs.matrix.outputs.php-version) }}
72
72
server-versions : ${{ fromJson(needs.matrix.outputs.server-max) }}
73
- mariadb-versions : ['10.6', '10.11 ']
73
+ mariadb-versions : ['10.6', '11.4 ']
74
74
75
75
name : MariaDB ${{ matrix.mariadb-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
76
76
80
80
ports :
81
81
- 4444:3306/tcp
82
82
env :
83
- MYSQL_ROOT_PASSWORD : rootpassword
84
- options : --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
83
+ MARIADB_ROOT_PASSWORD : rootpassword
84
+ options : --health-cmd="mariadb-admin ping" --health-interval 5s --health-timeout 2s --health-retries 5
85
85
86
86
steps :
87
87
- name : Set app env
Original file line number Diff line number Diff line change 15
15
schedule :
16
16
- cron : ' 30 1 * * *'
17
17
18
+ permissions :
19
+ contents : read
20
+ pull-requests : write
21
+
18
22
jobs :
19
23
pr-feedback :
20
24
if : ${{ github.repository_owner == 'nextcloud' }}
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ concurrency:
14
14
group : psalm-${{ github.head_ref || github.run_id }}
15
15
cancel-in-progress : true
16
16
17
+ permissions :
18
+ contents : read
19
+
17
20
jobs :
18
21
static-analysis :
19
22
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ name: REUSE Compliance Check
11
11
12
12
on : [pull_request]
13
13
14
+ permissions :
15
+ contents : read
16
+
14
17
jobs :
15
18
reuse-compliance-check :
16
19
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 13
13
schedule :
14
14
- cron : " 5 2 * * 0"
15
15
16
+ permissions :
17
+ contents : read
18
+
16
19
jobs :
17
20
update-nextcloud-ocp :
18
21
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments