Skip to content

Conversation

@bkhouri
Copy link

@bkhouri bkhouri commented Dec 2, 2025

Add an option to the GitHub automerger workflow to optionally create a PR as non-draft. When this is the case, the tests will be demanded by commenting @swift-ci please test on the created PR.

@bkhouri bkhouri marked this pull request as ready for review December 2, 2025 16:20
@bkhouri bkhouri requested a review from a team as a code owner December 2, 2025 16:20
@bkhouri bkhouri force-pushed the t/main/augment_aotomerger_workflow branch from 43612c6 to 1a521db Compare December 2, 2025 16:24
@bkhouri bkhouri changed the title Add configurability to the automerger workflow Add option for automerger workflow to create non-draft PRs Dec 2, 2025
@bkhouri bkhouri force-pushed the t/main/augment_aotomerger_workflow branch from 1a521db to 01a4e85 Compare December 2, 2025 20:21
if [[ "${{ inputs.create_as_draft }}" != "true" ]] ; then
PR_URL=$(gh pr view "${PR_BRANCH}" --json url | jq -r '.url')
gh pr comment "$PR_URL" --body "@swift-ci please test"
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: just @swift-ci test works

Copy link
Author

Choose a reason for hiding this comment

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

I know, but let's encourage folks to be polite :)

@bkhouri bkhouri force-pushed the t/main/augment_aotomerger_workflow branch from 01a4e85 to 1f51e8b Compare December 4, 2025 16:35
Add an option to the GitHub automerger workflow to optionally create a
PR as non-draft.  When this is the case, the tests will be demanded by
commenting `@swift-ci please test` on the created PR.
@bkhouri bkhouri force-pushed the t/main/augment_aotomerger_workflow branch from 1f51e8b to 4978384 Compare December 4, 2025 16:36
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