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.
The
pull-request
workflow should handle 2 cases:pull_request
event: a PR created directly in theinfra
repository by an authorized userpull_request_target
event: a PR created in a fork of theinfra
repository by an external contributor when the changes only map to the YAML config filesMy previous PR, #228, only changed such config files, but still the
pull_request
event was triggered:https://github.com/pulumiverse/infra/actions/runs/11250271518
I'm guessing that the
pull_request_target
event wasn't sent because it didn't match the folder names. Hence, the proposed change is to add wildcards after each.