From 0e8a2748d909a03b4ade97b69fb69f1cb81c90cd Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sun, 19 Jul 2026 05:38:09 +0000 Subject: [PATCH] ci(actions): Update workflow templates from organization template repository Signed-off-by: GitHub --- .github/actions-lock.txt | 15 ++++++++------- .github/workflows/command-compile.yml | 2 +- .github/workflows/lint-php-cs.yml | 6 ++++-- .github/workflows/phpunit-mysql.yml | 9 +++++++-- .github/workflows/phpunit-oci.yml | 9 +++++++-- .github/workflows/phpunit-pgsql.yml | 9 +++++++-- .github/workflows/phpunit-sqlite.yml | 9 +++++++-- .github/workflows/pr-feedback.yml | 2 +- 8 files changed, 42 insertions(+), 19 deletions(-) diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index 8bf84f87..57c5e04b 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -2,19 +2,20 @@ # SPDX-License-Identifier: MIT 9f2b534bea27e8ec2dda7c1d772a664b block-merge-eol.yml 25fc4c7e69e778e20bdc9eb0cc96367e block-merge-freeze.yml -46e653f77f1e1054dcf113bf2bab7eab command-compile.yml +47319d4424574e468e7d0692fd0c61d3 command-compile.yml e6351c608939c31ae1e32923aa82aa10 dependabot-approve-merge.yml 2581a67c5bcdcd570427e6d51db767d7 fixup.yml 2a205b6cc57c26c31a18a7f41190f3e2 lint-eslint.yml -870b483dbcbca59479211270d61546dd lint-php-cs.yml +660a12f14e32c1b2d24c418232d918da lint-php-cs.yml ee2b04d185b82fe7dd6fe6d83c6c7b45 lint-php.yml 351799835db66dd8d20e324970490e96 lint-stylelint.yml 03759c9dc0fa748cb927b9f9cadf2925 node.yml 7e9fa275fffbfef58e6348a44750e2ec npm-audit-fix.yml -07e60b2f304c749ee563f1256caf2793 phpunit-mysql.yml -b98798d397dd45f12c777038d230509e phpunit-oci.yml -4bf29a4d193f83443d16d368c60a7870 phpunit-pgsql.yml -21244b02c3f1ad7d78951ba1b876638f phpunit-sqlite.yml -3c4a096b3b7dbaef0f8e5190ffe13518 pr-feedback.yml +301cb65c1ccc97c22129ad3960ce7f5b phpunit-mysql.yml +fd5eecd6642b35edcff1ab4245a5db76 phpunit-oci.yml +59058fad92d407ffcf16efd401ef1cd5 phpunit-pgsql.yml +dad763027c0d87999474917d6818dbc9 phpunit-sqlite.yml +d1821b8a816578070ed8fd018f321f6d pr-feedback.yml 3975dc58817119d596a8f6ed190352ce reuse.yml fcdb95d98ab64de64587191bbd71b2cb npm-build.yml +22604c31b526de270a080eb19967a638 update-stable-titles.yml diff --git a/.github/workflows/command-compile.yml b/.github/workflows/command-compile.yml index ccf8274c..3a0da7a0 100644 --- a/.github/workflows/command-compile.yml +++ b/.github/workflows/command-compile.yml @@ -97,7 +97,7 @@ jobs: steps: - name: Restore cached git repository - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: .git key: git-repo diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml index bb67a004..0a65977b 100644 --- a/.github/workflows/lint-php-cs.yml +++ b/.github/workflows/lint-php-cs.yml @@ -43,10 +43,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Install dependencies + - name: Remove nextcloud/ocp run: | composer remove nextcloud/ocp --dev --no-scripts - composer i + + - name: Install composer dependencies + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 - name: Lint run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 ) diff --git a/.github/workflows/phpunit-mysql.yml b/.github/workflows/phpunit-mysql.yml index 0515478c..596d91ea 100644 --- a/.github/workflows/phpunit-mysql.yml +++ b/.github/workflows/phpunit-mysql.yml @@ -68,6 +68,7 @@ jobs: if: needs.changes.outputs.src != 'false' strategy: + fail-fast: false matrix: ${{ fromJson(needs.matrix.outputs.matrix) }} name: MySQL ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }} @@ -126,13 +127,17 @@ jobs: with: files: apps/${{ env.APP_NAME }}/composer.json - - name: Set up dependencies + - name: Remove nextcloud/ocp # Only run if phpunit config file exists if: steps.check_composer.outputs.files_exists == 'true' working-directory: apps/${{ env.APP_NAME }} run: | composer remove nextcloud/ocp --dev --no-scripts - composer i + + - name: Install composer dependencies + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 + with: + working-directory: apps/${{ env.APP_NAME }} - name: Set up Nextcloud env: diff --git a/.github/workflows/phpunit-oci.yml b/.github/workflows/phpunit-oci.yml index caf3ea75..4314399b 100644 --- a/.github/workflows/phpunit-oci.yml +++ b/.github/workflows/phpunit-oci.yml @@ -67,6 +67,7 @@ jobs: if: needs.changes.outputs.src != 'false' strategy: + fail-fast: false matrix: php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }} server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }} @@ -133,13 +134,17 @@ jobs: with: files: apps/${{ env.APP_NAME }}/composer.json - - name: Set up dependencies + - name: Remove nextcloud/ocp # Only run if phpunit config file exists if: steps.check_composer.outputs.files_exists == 'true' working-directory: apps/${{ env.APP_NAME }} run: | composer remove nextcloud/ocp --dev --no-scripts - composer i + + - name: Install composer dependencies + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 + with: + working-directory: apps/${{ env.APP_NAME }} - name: Set up Nextcloud env: diff --git a/.github/workflows/phpunit-pgsql.yml b/.github/workflows/phpunit-pgsql.yml index e7c15071..dab23f2e 100644 --- a/.github/workflows/phpunit-pgsql.yml +++ b/.github/workflows/phpunit-pgsql.yml @@ -67,6 +67,7 @@ jobs: if: needs.changes.outputs.src != 'false' strategy: + fail-fast: false matrix: php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }} server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }} @@ -124,13 +125,17 @@ jobs: with: files: apps/${{ env.APP_NAME }}/composer.json - - name: Set up dependencies + - name: Remove nextcloud/ocp # Only run if phpunit config file exists if: steps.check_composer.outputs.files_exists == 'true' working-directory: apps/${{ env.APP_NAME }} run: | composer remove nextcloud/ocp --dev --no-scripts - composer i + + - name: Install composer dependencies + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 + with: + working-directory: apps/${{ env.APP_NAME }} - name: Set up Nextcloud env: diff --git a/.github/workflows/phpunit-sqlite.yml b/.github/workflows/phpunit-sqlite.yml index 4f7da8d4..273400a4 100644 --- a/.github/workflows/phpunit-sqlite.yml +++ b/.github/workflows/phpunit-sqlite.yml @@ -67,6 +67,7 @@ jobs: if: needs.changes.outputs.src != 'false' strategy: + fail-fast: false matrix: php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }} server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }} @@ -113,13 +114,17 @@ jobs: with: files: apps/${{ env.APP_NAME }}/composer.json - - name: Set up dependencies + - name: Remove nextcloud/ocp # Only run if phpunit config file exists if: steps.check_composer.outputs.files_exists == 'true' working-directory: apps/${{ env.APP_NAME }} run: | composer remove nextcloud/ocp --dev --no-scripts - composer i + + - name: Install composer dependencies + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 + with: + working-directory: apps/${{ env.APP_NAME }} - name: Set up Nextcloud env: diff --git a/.github/workflows/pr-feedback.yml b/.github/workflows/pr-feedback.yml index f4c0477c..4420bf69 100644 --- a/.github/workflows/pr-feedback.yml +++ b/.github/workflows/pr-feedback.yml @@ -36,7 +36,7 @@ jobs: blocklist=$(curl https://raw.githubusercontent.com/nextcloud/.github/master/non-community-usernames.txt | paste -s -d, -) echo "blocklist=$blocklist" >> "$GITHUB_OUTPUT" - - uses: nextcloud/pr-feedback-action@f0cab224dea8e1f282f9451de322f323c78fc7a5 # main + - uses: nextcloud/pr-feedback-action@5227c55be184087d0aef6338bee210d8620b6297 # v1.0.1 with: feedback-message: | Hello there,