Thanks to visit codestin.com
Credit goes to github.com

Skip to content

When PR creation is not created due to a fallback agent still claims the PR was created #20597

@tspascoal

Description

@tspascoal

When the safe output create-pull-request is configured to fallback-to-issue (in protected-files attribute) and the changes involve protected files, the pull request isn't actually created but the job summary states the pull request has been actually created.

It should state issue was created as a fallback (instead of claiming the PR has been created) (preferably with a link to the created issue)

Image

If the agent is acting on a PR and the agent is instructed to add-comment the comment body also claims the PR was created.

Image

The comment should be consistent as well, stating the PR wasn't created but a fallback issue has been created (preferably with a link to the created issue)

If the create-pull-request is configured to block PR creation, then that should also be consistent and logged accordingly.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions