From cd236db98fd15ef0be5242e7249abbb1ce091c2e Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sun, 22 Mar 2026 03:16:46 +0000 Subject: [PATCH] ci(actions): Update workflow templates from organization template repository Signed-off-by: GitHub --- .github/actions-lock.txt | 1 + .github/workflows/sync-workflow-templates.yml | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index e75b2ede80c..fd60e0d22c2 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -24,3 +24,4 @@ b3df400f278aceee04fa140c6c4efe3a phpunit-sqlite.yml 800d5b188aa885626cf4169fa2dfea9e update-nextcloud-ocp-approve-merge.yml 3546915f4efeb698b828e1aa3861d26e update-nextcloud-ocp.yml 48c2c657b87747c9faeb589bcce08923 update-stable-titles.yml +9748607544294975609be21633372bdd sync-workflow-templates.yml diff --git a/.github/workflows/sync-workflow-templates.yml b/.github/workflows/sync-workflow-templates.yml index f1883af91b3..2ea8a318ecd 100644 --- a/.github/workflows/sync-workflow-templates.yml +++ b/.github/workflows/sync-workflow-templates.yml @@ -1,8 +1,13 @@ -# This workflow will update all workflow templates +# This workflow is provided via the organization template repository +# +# https://github.com/nextcloud/.github +# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization # # SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors # SPDX-License-Identifier: MIT +# This workflow will update all workflow templates +# Additionally it will reapply `workflow.yml.patch` files after syncing and only then commit the result name: Update workflows on: workflow_dispatch: @@ -21,8 +26,8 @@ jobs: matrix: branches: - ${{ github.event.repository.default_branch }} + - 'stable33' - 'stable32' - - 'stable31' name: Update workflows in ${{ matrix.branches }} @@ -37,14 +42,14 @@ jobs: require: admin - name: Checkout workflow repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false path: source repository: nextcloud/.github - name: Checkout app - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false path: target @@ -115,7 +120,7 @@ jobs: echo "DRAFT_ONLY=${draft_only}" >> $GITHUB_ENV - name: Create Pull Request - uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0 + uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 with: token: ${{ secrets.COMMAND_BOT_WORKFLOWS }} # zizmor: ignore[secrets-outside-env] commit-message: 'ci(actions): Update workflow templates from organization template repository'