Skip to content

Commit 6c9b193

Browse files
ci(gh): Sync workflow updates
Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 6e27aa5 commit 6c9b193

34 files changed

+180
-80
lines changed

.github/workflows/block-outdated-3rdparty.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
3333
- name: Checkout
3434
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35+
with:
36+
persist-credentials: false
3537

3638
- name: 3rdparty commit hash on current branch
3739
id: actual

.github/workflows/command-pull-3rdparty.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
id: comment-branch
3939

4040
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
41-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
41+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4242
with:
43+
persist-credentials: false
4344
fetch-depth: 0
4445
token: ${{ secrets.COMMAND_BOT_PAT }}
4546
ref: ${{ steps.comment-branch.outputs.head_ref }}

.github/workflows/cypress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
SPLIT: ${{ matrix.total-containers }}
151151
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
152152

153-
- name: Upload snapshots
153+
- name: Upload snapshots and videos
154154
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
155155
if: always()
156156
with:

.github/workflows/files-external-ftp.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "5 2 * * *"
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: files-external-ftp-${{ github.head_ref || github.run_id }}
1114
cancel-in-progress: true
@@ -53,8 +56,9 @@ jobs:
5356

5457
steps:
5558
- name: Checkout server
56-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
59+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5760
with:
61+
persist-credentials: false
5862
submodules: true
5963

6064
- name: Set up ftpd

.github/workflows/files-external-s3.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "5 2 * * *"
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: files-external-s3-${{ github.head_ref || github.run_id }}
1114
cancel-in-progress: true
@@ -50,7 +53,7 @@ jobs:
5053

5154
services:
5255
minio:
53-
image: bitnami/minio
56+
image: bitnami/minio@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 # v2025.4.22
5457
env:
5558
MINIO_ROOT_USER: nextcloud
5659
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
@@ -60,8 +63,9 @@ jobs:
6063

6164
steps:
6265
- name: Checkout server
63-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
66+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6467
with:
68+
persist-credentials: false
6569
submodules: true
6670

6771
- name: Set up php ${{ matrix.php-versions }}
@@ -129,13 +133,13 @@ jobs:
129133
env:
130134
SERVICES: s3
131135
DEBUG: 1
132-
image: localstack/localstack
136+
image: localstack/localstack@sha256:b52c16663c70b7234f217cb993a339b46686e30a1a5d9279cb5feeb2202f837c # v4.4.0
133137
ports:
134138
- "4566:4566"
135139

136140
steps:
137141
- name: Checkout server
138-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
142+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
139143
with:
140144
submodules: true
141145

.github/workflows/files-external-sftp.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "5 2 * * *"
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: files-external-sftp-${{ github.head_ref || github.run_id }}
1114
cancel-in-progress: true
@@ -53,8 +56,9 @@ jobs:
5356

5457
steps:
5558
- name: Checkout server
56-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
59+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5760
with:
61+
persist-credentials: false
5862
submodules: true
5963

6064
- name: Set up sftpd

.github/workflows/files-external-smb-kerberos.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "5 2 * * *"
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: files-external-smb-kerberos-${{ github.head_ref || github.run_id }}
1114
cancel-in-progress: true
@@ -43,13 +46,15 @@ jobs:
4346

4447
steps:
4548
- name: Checkout server
46-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
49+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4750
with:
51+
persist-credentials: false
4852
submodules: true
4953

5054
- name: Checkout user_saml
51-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
55+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5256
with:
57+
persist-credentials: false
5358
repository: nextcloud/user_saml
5459
path: apps/user_saml
5560

.github/workflows/files-external-smb.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "5 2 * * *"
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: files-external-smb-${{ github.head_ref || github.run_id }}
1114
cancel-in-progress: true
@@ -50,14 +53,15 @@ jobs:
5053

5154
services:
5255
samba:
53-
image: ghcr.io/nextcloud/continuous-integration-samba:latest
56+
image: ghcr.io/nextcloud/continuous-integration-samba:latest # zizmor: ignore[unpinned-images]
5457
ports:
5558
- 445:445
5659

5760
steps:
5861
- name: Checkout server
59-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
62+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6063
with:
64+
persist-credentials: false
6165
submodules: true
6266

6367
- name: Set up php ${{ matrix.php-versions }}

.github/workflows/files-external-webdav.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "5 2 * * *"
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: files-external-webdav-${{ github.head_ref || github.run_id }}
1114
cancel-in-progress: true
@@ -50,14 +53,15 @@ jobs:
5053

5154
services:
5255
apache:
53-
image: ghcr.io/nextcloud/continuous-integration-webdav-apache:latest
56+
image: ghcr.io/nextcloud/continuous-integration-webdav-apache:latest # zizmor: ignore[unpinned-images]
5457
ports:
5558
- 8081:80
5659

5760
steps:
5861
- name: Checkout server
59-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
62+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6063
with:
64+
persist-credentials: false
6165
submodules: true
6266

6367
- name: Set up php ${{ matrix.php-versions }}

.github/workflows/files-external.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "5 2 * * *"
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: files-external-generic-${{ github.head_ref || github.run_id }}
1114
cancel-in-progress: true
@@ -49,8 +52,9 @@ jobs:
4952

5053
steps:
5154
- name: Checkout server
52-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
55+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5356
with:
57+
persist-credentials: false
5458
submodules: true
5559

5660
- name: Set up php ${{ matrix.php-versions }}

0 commit comments

Comments
 (0)