ci(deps): add Dependabot Manager workflow and configuration#9
Merged
Conversation
Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
There was a problem hiding this comment.
Pull request overview
Adds a reusable "Dependabot Manager" workflow plus a workflow-template wrapper (and matching properties file) so consumer repositories can opt into automated review of Dependabot PRs. The reusable workflow fetches Dependabot metadata, evaluates a small policy (block major updates and maintainer changes, otherwise auto-approve and enable squash auto-merge, and label security updates), authenticated via a GitHub App token. The template is also registered in .github/sync.yml so it gets propagated to other repos.
Changes:
- New reusable workflow
.github/workflows/__dependabot-manager.ymlimplementing the auto-approve / auto-merge / security-label policy viadependabot/fetch-metadataandactions/github-script. - New caller template
workflow-templates/dependabot-manager.yml(and properties JSON) gated todependabot[bot]onpull_request_target. .github/sync.ymlupdated to sync the new template into downstream repos.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
.github/workflows/__dependabot-manager.yml |
Reusable workflow with policy logic, App-token auth, and gh CLI actions for approve/merge/label. |
workflow-templates/dependabot-manager.yml |
Caller template invoking the reusable workflow on Dependabot PRs. |
workflow-templates/dependabot-manager.properties.json |
Metadata (name, description, icon, category) for the workflow-template chooser. |
.github/sync.yml |
Registers the new template for sync to downstream repos. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| let reason = 'manual review required'; | ||
| const security = ghsaId !== '' && ghsaId !== undefined || (cvss !== '' && cvss !== '0' && cvss !== '0.0'); | ||
|
|
||
| if (maintainerChanges !== 'false') { |
|
|
||
| let autoManage = false; | ||
| let reason = 'manual review required'; | ||
| const security = ghsaId !== '' && ghsaId !== undefined || (cvss !== '' && cvss !== '0' && cvss !== '0.0'); |
brooke-hamilton
approved these changes
May 18, 2026
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.
No description provided.