dependabot: auto-merge requires on pull_request_target#43017
dependabot: auto-merge requires on pull_request_target#43017clwluvw wants to merge 1 commit intogithub:mainfrom
Conversation
Auto-merge appears to function correctly with `pull_request_target`, allowing it to authenticate and operate within the context of the target repository. Without this, a 401 error is returned due to insufficient scope. Signed-off-by: Seena Fallah <seenafallah@gmail.com>
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
There was a problem hiding this comment.
Pull request overview
This pull request proposes changing the trigger event for the Dependabot auto-merge workflow from pull_request to pull_request_target with specific activity types. The PR description claims this change is needed to fix authentication issues (401 errors due to insufficient scope).
Changes:
- Modified the workflow trigger from
on: pull_requesttoon: pull_request_targetwith types[opened, reopened, synchronize]
Why:
Auto-merge appears to function correctly with
pull_request_target, allowing it to authenticate and operate within the context of the target repository. Without this, a 401 error is returned due to insufficient scope.Check off the following: