-
Notifications
You must be signed in to change notification settings - Fork 194
[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
Conversation
} | ||
|
||
// Validate commit SHA format | ||
if (!preg_match('/^[0-9a-f]{40}$/', $target_commit)) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
@@ -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']); |
There was a problem hiding this comment.
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?
No description provided.