Skip to content

ci: add Dependabot updates with auto-merge for patch and minor bumps - #13

Merged
ChiragAgg5k merged 1 commit into
mainfrom
ci/dependabot-automation
Oct 22, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
ci/dependabot-automation

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

Adds Dependabot version and security updates, gated auto-merge for patch and minor bumps, and a CI build check.

.github/dependabot.yml checks npm and github-actions weekly on Monday. Minor and patch version bumps are grouped into a single PR per ecosystem, security updates into their own group, and commits use the chore(scope): conventional prefix.

.github/workflows/dependabot-auto-merge.yml runs on Dependabot PRs and enables squash auto-merge only for semver-patch and semver-minor updates. Major updates are left for a human to review and merge.

.github/workflows/ci.yml adds a build job on pull requests and pushes to main: Node 22, npm ci, npm run build. Appwrite env vars are set to harmless placeholders so the build can run. Actions are pinned to commit SHAs.

Auto-merge policy: patch and minor updates merge automatically once the required checks pass; majors need a human. Nothing merges automatically until an admin enables "Allow auto-merge" on the repo and adds a ruleset on main requiring the checks below.

Required checks for this repo: build and Hansi.

@hansi-codes

hansi-codes Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Adds weekly Dependabot update groups for npm and GitHub Actions, a build workflow for pull requests and pushes to main, and a workflow that requests auto-merge for Dependabot patch and minor updates. The repository setup notes also specify the branch protection and auto-merge settings needed for merges to proceed.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 3
File Change
.github/dependabot.yml Schedules npm and GitHub Actions updates and groups minor, patch, and security updates.
.github/workflows/ci.yml Adds a Node 22 build check for pull requests and pushes to main.
.github/workflows/dependabot-auto-merge.yml Fetches Dependabot update metadata and requests squash auto-merge for patch and minor updates.
🔇 Filtered out · 1

Findings Hansi considered but did not post.

Finding Why
Dependabot runs cannot enable auto-merge with this trigger Verifier: Dependabot-triggered workflows receive a read-only GITHUB_TOKEN by default, but that default can be overridden with explicit workflow permissions. This workflow already requests contents: write and pull-requests: write on lines 5–7 and passes that token to gh on line 25. This is the supported pull_request-based Dependabot auto-merge pattern; the trigger alone does not make those permissions ineffective. No evidence establishes a repository restriction that would prevent the requested permissions.

Reviewed 0b76982 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 711fad6 into main Oct 22, 2026
3 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the ci/dependabot-automation branch October 22, 2026 12:31
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