Support pull_request_target event - #3
Merged
Conversation
Avoid direct interpolation of GitHub expressions inside shell scripts by mapping inputs and context values through env variables. This reduces the risk of unescaped external data and keeps shell logic consistent across events and manual dispatches. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Handle `pull_request_target` alongside `pull_request` when detecting Dependabot PRs, fetching metadata, and reading titles. This keeps manual dispatch logic unchanged while enabling target-context runs. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
llucax
enabled auto-merge
February 17, 2026 11:22
llucax
disabled auto-merge
February 17, 2026 11:25
Author
|
Tested with: Enabling auto-merge. |
llucax
enabled auto-merge
February 17, 2026 13:28
Marenz
approved these changes
Feb 17, 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.
Handle
pull_request_targetalongsidepull_requestwhen detecting Dependabot PRs, fetching metadata, and reading titles. This keeps manual dispatch logic unchanged while enabling target-context runs.Also avoid direct interpolation of GitHub expressions inside shell scripts to reduce the risk of unescaped external data.