Skip to content

ci: clone the activity app from main on Nextcloud master - #9536

Merged
vitormattos merged 1 commit into
LibreSign:mainfrom
maia-andre:ci/activity-default-branch
Nov 18, 2026
Merged

vitormattos merged 1 commit into
LibreSign:mainfrom
maia-andre:ci/activity-default-branch

Conversation

@maia-andre

Copy link
Copy Markdown
Contributor

📝 Summary

nextcloud/activity renamed its master branch to main (the API now redirects master to main). Our workflows clone it with -b ${{ matrix.server-versions }}, so on the Nextcloud master matrix the clone fails:

git clone --depth 1 -b master https://github.com/nextcloud/activity apps/activity
fatal: Remote branch master not found in upstream origin

Every Behat and Playwright job for Nextcloud master therefore fails in "Set up Nextcloud" before any test runs, on any PR (seen on #9535: run 44213434055).

This maps master to main for the activity clone only, in behat-{sqlite,mysql,pgsql,mariadb}.yml and playwright.yml. Other values are passed through unchanged; stable32–stable35 still exist in nextcloud/activity. notifications still uses master, so it is left alone.

🧪 How to test

The Behat and Playwright jobs of this PR should get past "Set up Nextcloud".

Validation evidence

  • git clone --depth 1 -b main https://github.com/nextcloud/activity works locally, and -b master reproduces the error above
  • actionlint 1.7.7 on the 5 workflows: no findings (same as on main)
  • CI reviewed

✅ Checklist

  • I have read and followed the contribution guide.
  • The diff does not contain unrelated refactors or generated changes.
  • Commits follow Conventional Commits where applicable.
  • All commits include the required DCO sign-off.

🤖 AI (if applicable)

  • The content of this PR was partially or fully generated using AI

nextcloud/activity renamed its master branch to main, so cloning it
with -b master fails ("Remote branch master not found") and the Behat
and Playwright jobs for Nextcloud master stop in "Set up Nextcloud".
Stable branches keep their names and are still cloned as before.

Signed-off-by: André Maia <andrefnkmm@gmail.com>
@maia-andre
maia-andre requested a review from a team as a code owner November 18, 2026 01:13
@vitormattos
vitormattos merged commit 0a5fc35 into LibreSign:main Nov 18, 2026
77 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants