Add agentic workflow for auto-approving dependency PRs#2906
Merged
Conversation
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add workflow to approve dependency pull requests
Add agentic workflow for auto-approving dependency PRs
Feb 14, 2026
Updated the auto-approve Renovate PRs workflow to refine criteria for automatic approval and streamline environment variable usage.
plengauer
approved these changes
Feb 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces an automated approval workflow for pull requests containing only dependency updates or version bumps from trusted sources (Renovate bot and repository owner). It uses GitHub Agentic Workflows (gh-aw v0.43.23) to implement an AI-powered approval agent with conservative safety criteria.
Changes:
- Added agentic workflow definition file (
.github/workflows/auto-approve-renovate-prs.md) with AI agent instructions, trigger configuration, and custom safe-outputs job for PR approval - Added compiled workflow file (
.github/workflows/auto-approve-renovate-prs.lock.yml) auto-generated by gh-aw, containing the complete GitHub Actions workflow with agent execution, threat detection, and permission-separated approval job
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/auto-approve-renovate-prs.md | Workflow definition with AI agent instructions for verifying PR draft status, author trustworthiness, and dependency-only file changes. Includes custom safe-outputs job for PR approval via GitHub API. |
| .github/workflows/auto-approve-renovate-prs.lock.yml | Auto-generated compiled workflow with complete job orchestration: pre-activation (team membership check), agent execution (with firewall and MCP servers), threat detection, safe-outputs processing, approval job (pull-requests: write), and conclusion handling. |
auto-merge was automatically disabled
February 15, 2026 23:04
Pull request was converted to draft
Removed unnecessary inputs and simplified approval step.
moflwi
approved these changes
Feb 16, 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.
Implements automated approval for pull requests containing only dependency updates or version bumps from Renovate bot or repository owner.
Implementation
Agentic workflow (
.github/workflows/auto-approve-renovate-prs.md) using gh-aw v0.43.23Custom safe-outputs job for PR approval via GitHub API
pull-requests: writepermissionAllowed file changes:
package.json,requirements.txt,pom.xml,meta/debian/control,meta/rpm/*.spec,.github/images.jsonVERSIONfileAgent verification flow
Security
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
github.github.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)https://api.github.com/repos/actions/github-script/git/ref/tags/v8/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha(http block)/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha /usr/bin/rm mktemp /usr/bin/git -p y, .value.used, /tmp/tmp.4g1FJd4IAk_opentelemetry_shell_2788.observation_handle.pipe�� /usr/bin/rm git erva�� ad180516:.github/workflows/auto-approve-renovate-prs.lock.yml .github/AUTO-APPROVE-WORKFLOW-README.md /usr/bin/mkfifo auer/opentelemetsleep mktemp /usr/bin/mkfifo mkfifo(http block)/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha /usr/bin/cut sleep /usr/bin/mktemp /usr/bin/rm cut /usr/bin/rm mktemp pipe�� -p /tmp /usr/bin/mkfifo /usr/bin/sleep rm /usr/bin/mkfifo mkfifo(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.43.23/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.43.23 --jq .object.sha(http block)/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.43.23 --jq .object.sha --show-toplevel(http block)/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.43.23 --jq .object.sha /home/REDACTED/work/Thoth/Thoth/.github/workflows y, .value.used, .value.remaining] | @tsv /home/REDACTED/work/_temp/ghcca-node/node/bin/bash(http block)https://api.github.com/user/usr/bin/gh gh api user --jq .login(http block)/usr/bin/gh gh api user --jq .login /home/REDACTED/work/_temp/runtime-logs/user.env ame t[bot](http block)/usr/bin/gh gh api user --jq .login --global credential.helper /usr/local/bin/git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.