Skip to content

Add dependabot-sync[bot] to auto-approve workflow actors - #202

Merged
nev21 merged 2 commits into
mainfrom
copilot/update-auto-approve-actors
Dec 31, 2025
Merged

nev21 merged 2 commits into
mainfrom
copilot/update-auto-approve-actors

Conversation

Copilot AI commented Dec 31, 2025 •

Copy link
Copy Markdown
Contributor

Extends the PR auto-approve workflow to support PRs from dependabot-sync[bot] in addition to existing dependabot[bot] and nev21 actors.

Changes

  • Updated .github/workflows/pr-auto-approve.yml line 19 to include dependabot-sync[bot] in the conditional that gates workflow execution
# Before
if: github.actor == 'dependabot[bot]' || github.actor == 'nev21'

# After  
if: github.actor == 'dependabot[bot]' || github.actor == 'nev21' || github.actor == 'dependabot-sync[bot]'
Original prompt

Update the .github/workflows/pr-auto-approve.yml file to include dependabot-sync[bot] as an approved actor that can trigger the auto-approve workflow.

Currently, line 19 contains:

if: github.actor == 'dependabot[bot]' || github.actor == 'nev21'

This should be updated to:

if: github.actor == 'dependabot[bot]' || github.actor == 'nev21' || github.actor == 'dependabot-sync[bot]'

This will allow the auto-approve workflow to run for pull requests created by the dependabot-sync[bot] actor.

This pull request was created from Copilot chat.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: nev21 <82737406+nev21@users.noreply.github.com>
Copilot AI changed the title [WIP] Update auto-approve workflow for dependabot-sync[bot] Add dependabot-sync[bot] to auto-approve workflow actors Dec 31, 2025
Copilot AI requested a review from nev21 December 31, 2025 06:29
@nev21
nev21 marked this pull request as ready for review December 31, 2025 06:30
Copilot AI review requested due to automatic review settings December 31, 2025 06:30
@nev21
nev21 enabled auto-merge (squash) December 31, 2025 06:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the auto-approve workflow to include dependabot-sync[bot] as an approved actor, allowing PRs from this bot to be automatically approved alongside existing support for dependabot[bot] and nev21.

Key Changes:

  • Added dependabot-sync[bot] to the conditional check in the auto-approve workflow to enable automatic PR approval for this actor

@nev21
nev21 disabled auto-merge December 31, 2025 06:49
@nev21
nev21 merged commit 5b55794 into main Dec 31, 2025
14 checks passed
@nev21
nev21 deleted the copilot/update-auto-approve-actors branch December 31, 2025 06:49
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.

3 participants