Repository navigation
ci: add Dependabot updates with auto-merge for patch and minor bumps - #7
Merged
Merged
Conversation
🟢 Tier S · Ready to mergeAdds weekly grouped Dependabot updates for npm and GitHub Actions, plus a workflow intended to enable auto-merge for patch and minor updates. Adds a Node 22 CI workflow that installs dependencies and runs the production build.
📂 Walkthrough · 3
🔇 Filtered out · 1Findings Hansi considered but did not post.
Reviewed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
.github/dependabot.yml: weekly (Monday) Dependabot updates fornpmandgithub-actions. Minor and patch version updates are grouped into one PR per ecosystem, and security updates into another. Commits use thechore(deps)conventional prefix..github/workflows/dependabot-auto-merge.yml: on Dependabot PRs, reads the update metadata and enables squash auto-merge only for semver patch and minor updates. Actions are pinned to commit SHAs..github/workflows/ci.yml: the repo had no CI. Thebuildjob installs withnpm cion Node 22 and runsnpm run build.ng testis left out because the project has no spec files.Auto-merge policy
Patch and minor updates (including security fixes that are patch or minor) merge automatically once the required checks pass. Major updates are never auto-merged and wait for a human review.
Nothing merges automatically until an admin enables "Allow auto-merge" in the repository settings and adds a ruleset on the default branch requiring the CI check and Hansi.
Required checks
buildHansi