Skip to content

CI: Dependabot version updates for npm, Composer and GitHub Actions - #328

Merged
Martin-1997 merged 2 commits into
masterfrom
ci/dependabot
Nov 23, 2026
Merged

Martin-1997 merged 2 commits into
masterfrom
ci/dependabot

Conversation

@Martin-1997

@Martin-1997 Martin-1997 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Adds .github/dependabot.yml. Until now, Dependabot only opened PRs for security alerts.

Ecosystem Directory What
npm /js frontend dependencies
Composer / development tools (phpunit, phpstan, OCP stubs); the app has no runtime Composer dependencies
GitHub Actions / the actions in .github/workflows, pinned to commit SHAs. Without this they get no updates, security fixes included
  • Weekly, on Mondays.
  • Minor and patch updates are grouped into one PR per ecosystem; GitHub Actions in a single PR.
  • Major updates come as separate PRs, because they can need code changes. Merge build: update dependencies that are a major version behind #365 first: it contains the open npm majors and PHPUnit 11, and Upgrade phpstan to 2.x and regenerate the baseline #351 did phpstan 2, so the first run doesn't duplicate them.
  • nextcloud/ocp majors are ignored. The stubs stay on the oldest supported Nextcloud (33) on purpose; the phpstan job also checks the newest (35). The major version goes up together with <nextcloud min-version>.
  • PHPUnit 12/13 won't be proposed while config.platform.php is 8.2: Dependabot respects it, and they need PHP 8.3/8.4 (Require PHP 8.3 after PHP 8.2's end of life (January 2027) #353).
  • Labels: dependencies, plus javascript for npm. Both labels exist.
  • No version bump: Dependabot PRs don't change the app version (see RELEASING.md), so the version check passes.

After merging, GitHub shows the update status under Insights → Dependency graph → Dependabot. Expect a first batch of PRs on the next Monday.

🤖 Generated with Claude Code

Martin-1997 and others added 2 commits November 22, 2026 20:40
Weekly version updates in addition to the security alerts. Minor and
patch updates are grouped into one PR per ecosystem; major updates come
as separate PRs. Also keeps the SHA-pinned GitHub Actions up to date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Martin-1997
Martin-1997 merged commit 1b2add1 into master Nov 23, 2026
21 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.

1 participant