From da78a176010555df94701de01e0f14f4128cd3bb Mon Sep 17 00:00:00 2001 From: Hamza Date: Sun, 8 Feb 2026 18:00:11 +0100 Subject: [PATCH 1/5] chore: add cristianscheid to non community list Signed-off-by: Hamza --- non-community-usernames.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/non-community-usernames.txt b/non-community-usernames.txt index c21b20e..e5654ae 100644 --- a/non-community-usernames.txt +++ b/non-community-usernames.txt @@ -3,6 +3,7 @@ bigcat88 burdoto CarlSchwan Chartman123 +cristianscheid dartcafe datenangebot edward-ly From d84120f5fa2efe95e69533a7b4fb8ce59d2a1b17 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Mon, 9 Feb 2026 11:21:01 +0100 Subject: [PATCH 2/5] feat(workflow-templates): Add template for applying rector changes weekly Signed-off-by: provokateurin --- .../rector-apply.properties.json | 11 +++ workflow-templates/rector-apply.yml | 70 +++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 workflow-templates/rector-apply.properties.json create mode 100644 workflow-templates/rector-apply.yml diff --git a/workflow-templates/rector-apply.properties.json b/workflow-templates/rector-apply.properties.json new file mode 100644 index 0000000..91f1b4f --- /dev/null +++ b/workflow-templates/rector-apply.properties.json @@ -0,0 +1,11 @@ +{ + "name": "rector apply", + "description": "Applies rector changes", + "iconName": "octicon shield-check", + "categories": [ + "PHP" + ], + "filePatterns": [ + "^composer.json$" + ] + } diff --git a/workflow-templates/rector-apply.yml b/workflow-templates/rector-apply.yml new file mode 100644 index 0000000..60a6b38 --- /dev/null +++ b/workflow-templates/rector-apply.yml @@ -0,0 +1,70 @@ +# 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: 2026 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: MIT + +name: Apply rector changes + +on: + workflow_dispatch: + schedule: + # At 14:30 on Sundays + - cron: '30 14 * * 0' + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + + name: rector-apply + + steps: + - name: Checkout + id: checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + ref: ${{ github.event.repository.default_branch }} + continue-on-error: true + + - name: Get php version + id: versions + uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1 + + - name: Set up php${{ steps.versions.outputs.php-min }} + uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0 + with: + php-version: ${{ steps.versions.outputs.php-min }} + extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite + coverage: none + ini-file: development + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Install dependencies + run: | + composer remove nextcloud/ocp --dev --no-scripts + composer i + + - name: Rector + run: composer run rector + + - name: Create Pull Request + if: steps.checkout.outcome == 'success' + uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 + with: + token: ${{ secrets.COMMAND_BOT_PAT }} + commit-message: 'refactor: Apply rector changes' + committer: GitHub + author: nextcloud-command + signoff: true + branch: automated/noid/rector-changes + title: 'Apply rector changes' + labels: | + technical debt + 3. to review From fb3d21b4176c4f5dcd691614e08307eab209b05d Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 10 Feb 2026 09:28:14 +0100 Subject: [PATCH 3/5] fix(workflow-templates): Adjust rector-apply to server review Signed-off-by: provokateurin --- workflow-templates/rector-apply.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/workflow-templates/rector-apply.yml b/workflow-templates/rector-apply.yml index 60a6b38..8bbea34 100644 --- a/workflow-templates/rector-apply.yml +++ b/workflow-templates/rector-apply.yml @@ -30,7 +30,6 @@ jobs: with: persist-credentials: false ref: ${{ github.event.repository.default_branch }} - continue-on-error: true - name: Get php version id: versions @@ -55,7 +54,6 @@ jobs: run: composer run rector - name: Create Pull Request - if: steps.checkout.outcome == 'success' uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 with: token: ${{ secrets.COMMAND_BOT_PAT }} From ab26a9f9fd809a086cf2237c2bd00330528f741f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Feb 2026 02:06:43 +0000 Subject: [PATCH 4/5] build(deps): Bump cypress-io/github-action in /workflow-templates Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.10.8 to 7.1.2. - [Release notes](https://github.com/cypress-io/github-action/releases) - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/cypress-io/github-action/compare/2ad32e649e4db26c07674ebae31a297601dbcbaf...84d178e4bbce871e23f2ffa3085898cde0e4f0ec) --- updated-dependencies: - dependency-name: cypress-io/github-action dependency-version: 7.1.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- workflow-templates/cypress.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow-templates/cypress.yml b/workflow-templates/cypress.yml index 0717889..c3be177 100644 --- a/workflow-templates/cypress.yml +++ b/workflow-templates/cypress.yml @@ -116,7 +116,7 @@ jobs: run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}' - name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests - uses: cypress-io/github-action@2ad32e649e4db26c07674ebae31a297601dbcbaf # v6.10.8 + uses: cypress-io/github-action@84d178e4bbce871e23f2ffa3085898cde0e4f0ec # v7.1.2 with: record: ${{ secrets.CYPRESS_RECORD_KEY && true }} parallel: ${{ secrets.CYPRESS_RECORD_KEY && true }} From 4853a7ba2dea7943de71967a37990409c97e4d6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 14 Feb 2026 02:03:27 +0000 Subject: [PATCH 5/5] ci(deps): Bump astral-sh/setup-uv in /.github/workflows Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 7.2.0 to 7.3.0. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/61cb8a9741eeb8a550a1b8544337180c0fc8476b...eac588ad8def6316056a12d4907a9d4d84ff7a3b) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: 7.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/lint-yaml.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-yaml.yml b/.github/workflows/lint-yaml.yml index 7328f2d..b23f4d9 100644 --- a/.github/workflows/lint-yaml.yml +++ b/.github/workflows/lint-yaml.yml @@ -33,7 +33,7 @@ jobs: line-length: warning - name: Install the latest version of uv - uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0 + uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0 - name: Check GitHub actions run: uvx zizmor --min-severity medium .github/workflows/*.yml