Skip to content

Conversation

@Shmalikov
Copy link
Collaborator

Changed GitHub action to use GitHub App token with gh CLI as a workaround since GitHub Actions are not able to create pull requests according to organization policy that couldn't be changed due to strange GitHub behavior.

@Shmalikov Shmalikov requested a review from hareskoug September 8, 2025 21:45
@Shmalikov Shmalikov marked this pull request as ready for review September 8, 2025 21:53

create_and_merge_pr:
needs: publish_package
if: needs.publish_package.result == 'success' && (github.event_name == 'workflow_dispatch' && github.event.inputs.from_branch != github.event.inputs.to_branch)
Copy link
Collaborator

Choose a reason for hiding this comment

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

would we not want to keep this guardrail?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nope, it sill will fail on creating the Pull Request. This check is redundant.

@Shmalikov Shmalikov merged commit c0a19b4 into main Sep 8, 2025
2 checks passed
@Shmalikov Shmalikov deleted the bug/VAN-143698-action-pull-requests branch September 8, 2025 22:10
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