From 4b5d6c9b0c50f06783482f8a51dc9d78fd48e3c4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Nov 2026 13:38:26 +0000 Subject: [PATCH] ci(actions): Update workflow templates from organization template repository Signed-off-by: GitHub --- .github/actions-lock.txt | 16 +++++++++------- .github/workflows/lint-php-cs.yml | 3 +++ .github/workflows/openapi.yml | 21 ++++++++++----------- .github/workflows/psalm.yml | 2 +- 4 files changed, 23 insertions(+), 19 deletions(-) diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index d184706..81e8f2d 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -1,10 +1,12 @@ # SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors # SPDX-License-Identifier: MIT -0c1923aac02786a2cfe5fb1d41649c6d lint-info-xml.yml -8b65678da826d72e47aded7d71803732 lint-php-cs.yml -ce6af16282fe39c722b044200d64690f lint-php.yml -3fef15986dc6afdbf60685683ac28774 openapi.yml -26fe8b9690716b621f085df64ff395dc psalm.yml -df735e3a28099b65ba7e3fe63d96c72c reuse.yml -36e0b36945119dc63b8223bb1065fa2b sync-workflow-templates.yml +# workflow-lock-schema: 3 + +{"workflow":"lint-info-xml.yml","sha256":"3a2ed92f25ae9a233d6d64d44bd122b39dee0f153e7a1a9dc81bfb19adcec09b","catalog_commit":"3af264ca6c15bf8799a38e7292916cc59c689f93"} +{"workflow":"lint-php-cs.yml","sha256":"5a9693b730f2f5196002e0d70af635bb5122ee2460096871818c508dc7553742","catalog_commit":"3af264ca6c15bf8799a38e7292916cc59c689f93"} +{"workflow":"lint-php.yml","sha256":"83d968027814e65e315744d535022cd81d5c96ed38c449d96d74dda8828f4728","catalog_commit":"3af264ca6c15bf8799a38e7292916cc59c689f93"} +{"workflow":"openapi.yml","sha256":"fbad4ed3a459b507b7a35425d1916fdeac8cab70d0c8ca2af4fd19226436501e","catalog_commit":"3af264ca6c15bf8799a38e7292916cc59c689f93"} +{"workflow":"psalm.yml","sha256":"0dde38b2c1fdbc973e5cba0574d4249219d26b894db82d0dd71fbec53f6bdd1a","catalog_commit":"3af264ca6c15bf8799a38e7292916cc59c689f93"} +{"workflow":"reuse.yml","sha256":"f563735e1a573cca3acb2975321ee760e5d52cb6ca64bfcc11a5da4ae0f9bf73","catalog_commit":"3af264ca6c15bf8799a38e7292916cc59c689f93"} +{"workflow":"sync-workflow-templates.yml","sha256":"be8d4092f92f8a4373482170f3e07036da3fcf684bbebdcff25cf65eb17bb228","catalog_commit":"3af264ca6c15bf8799a38e7292916cc59c689f93"} diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml index 4df5282..064d1f9 100644 --- a/.github/workflows/lint-php-cs.yml +++ b/.github/workflows/lint-php-cs.yml @@ -20,6 +20,7 @@ concurrency: jobs: lint: runs-on: ubuntu-latest + timeout-minutes: 12 name: php-cs @@ -42,6 +43,8 @@ jobs: ini-file: development env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + update: true + verbose: true - name: Remove nextcloud/ocp run: | diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml index 0a2701e..4b57181 100644 --- a/.github/workflows/openapi.yml +++ b/.github/workflows/openapi.yml @@ -52,26 +52,25 @@ jobs: - name: Read package.json node and npm engines version if: steps.check_typescript_openapi.outputs.files_exists == 'true' - uses: skjnldsv/read-package-engines-version-actions@06d6db44aa62f4609ba070f556ec24bc99fb85cb # v4 + uses: nextcloud-libraries/parse-package-engines-action@39fcc545a815c353dd0a3fd8fd2ef6e59fd02b92 # v0.2.0 id: node_versions # Continue if no package.json continue-on-error: true - with: - fallbackNode: '^24' - fallbackNpm: '^11.3' - - name: Set up node ${{ steps.node_versions.outputs.nodeVersion }} - if: ${{ steps.node_versions.outputs.nodeVersion }} + - name: Set up node ${{ steps.node_versions.outputs.node-version }} + if: ${{ steps.node_versions.outcome == 'success' }} uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: ${{ steps.node_versions.outputs.nodeVersion }} + node-version: ${{ steps.node_versions.outputs.node-version || '^24' }} - - name: Set up npm ${{ steps.node_versions.outputs.npmVersion }} - if: ${{ steps.node_versions.outputs.nodeVersion }} - run: npm i -g 'npm@${{ steps.node_versions.outputs.npmVersion }}' + - name: Set up npm ${{ steps.node_versions.outputs.package-manager-version }} + if: ${{ steps.node_versions.outcome == 'success' }} + env: + NPM_VERSION: ${{ steps.node_versions.outputs.package-manager-name == 'npm' && steps.node_versions.outputs.package-manager-version || '^11.3' }} + run: npm i -g "npm@${NPM_VERSION}" - name: Install dependencies - if: ${{ steps.node_versions.outputs.nodeVersion }} + if: ${{ steps.node_versions.outcome == 'success' }} env: CYPRESS_INSTALL_BINARY: 0 PUPPETEER_SKIP_DOWNLOAD: true diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index 73c8f2d..e6acabc 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -58,4 +58,4 @@ jobs: run: composer require --dev nextcloud/ocp:dev-${{ steps.versions.outputs.branches-max }} --ignore-platform-reqs --with-dependencies - name: Run coding standards check - run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github + run: composer run psalm -- --monochrome --no-progress --output-format=github