Skip to content

[BUGS-9774] Revert #2591, fix workflow:wait, and re-implement --commit #2702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 16, 2025

Conversation

namespacebrian
Copy link
Contributor

No description provided.

}

// Validate commit SHA format
if (!preg_match('/^[0-9a-f]{40}$/', $target_commit)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we really pass the whole sha? What about the common git/github thing of using first N chars?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes that's a good point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to work with 7+ characters

@namespacebrian namespacebrian marked this pull request as ready for review July 16, 2025 16:52
@namespacebrian namespacebrian requested a review from a team as a code owner July 16, 2025 16:52
@@ -99,6 +95,7 @@ public function testWorkflowOperationsAndLogsCommands()
$this->assertEquals('succeeded', $testOperation['result']);
$this->assertArrayHasKey('duration', $testOperation);
$this->assertArrayHasKey('description', $testOperation);
$this->assertEquals('Print test message', $testOperation['description']);
Copy link
Member

Choose a reason for hiding this comment

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

Where does this come from?

@namespacebrian namespacebrian merged commit a141960 into 4.x Jul 16, 2025
9 checks passed
@namespacebrian namespacebrian deleted the revert-and-fix-workflow-wait branch July 16, 2025 20:20
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