Skip to content

Add shared reusable workflows for Dependabot automation#5

Open
Kevintjuhz wants to merge 1 commit into
mainfrom
feat/dependabot-automation
Open

Add shared reusable workflows for Dependabot automation#5
Kevintjuhz wants to merge 1 commit into
mainfrom
feat/dependabot-automation

Conversation

@Kevintjuhz
Copy link
Copy Markdown
Member

Summary

  • Adds node-build.yml — reusable Node/pnpm install + build + optional test workflow (used by 8 of 9 QSGs)
  • Adds composer-build.yml — reusable PHP/Composer install + build + phpunit workflow (used by laravel-quick-start)
  • Adds dependabot-auto-merge.yml — reusable auto-merge policy: patch + minor bumps merge automatically once CI passes; major bumps get needs-review + major-bump labels and a comment

Context

This is Phase 1 of automating Dependabot PR handling across all 9 preprio/*-quick-start repos. Each QSG will call these workflows from its own dependabot-auto-merge.yml workflow file (added in per-repo PRs that follow this one).

All workflows use workflow_call and are designed to be called with uses: preprio/.github/.github/workflows/<name>.yml@main.

Test plan

  • Merge this PR to main
  • Verify workflows appear at preprio/.github/.github/workflows/ on main
  • Proceed to per-repo PRs that reference these workflows

🤖 Generated with Claude Code

Adds three reusable workflows consumed by all quick-start repos:
- node-build.yml: installs + builds + optionally tests Node/pnpm projects
- composer-build.yml: installs + builds + optionally tests Laravel/PHP projects
- dependabot-auto-merge.yml: auto-merges patch/minor Dependabot PRs once CI passes; labels majors for manual review

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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