Shared GitHub Actions for HappyHackingSpace repositories.
Merges patch and minor Dependabot updates once nothing breaks. Majors are left for review.
name: Dependabot
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
checks: read
contents: write
pull-requests: write
statuses: read
jobs:
auto-merge:
if: github.event.pull_request.user.login == 'dependabot[bot]'
uses: HappyHackingSpace/actions/.github/workflows/dependabot-auto-merge.yaml@v1A PR is merged only when:
- the update is not a semver major,
dependabot/compat-checkspasses: it installs, builds and tests every project of the updated ecosystem (npm, pnpm, yarn, bun, Go, pip, uv, Docker, Compose),pr/wait-checkssees every other check on the PR pass. For ecosystems without a compat check (GitHub Actions, Gradle, NuGet, Swift, ...) at least one such check must exist.
Merges use GITHUB_TOKEN, so they do not trigger push workflows.