Skip to content

feat: add support for github status checks - #128

Merged
andrewrynhard merged 1 commit into
siderolabs:masterfrom
andrewrynhard:github-action
Jun 29, 2019
Merged

andrewrynhard merged 1 commit into
siderolabs:masterfrom
andrewrynhard:github-action

Conversation

@andrewrynhard

Copy link
Copy Markdown
Contributor

Signed-off-by: Andrew Rynhard [email protected]

// SetStatus sets the status of a GitHub check.
// Valid statuses are "error", "failure", "pending", "success"
func (c *Conform) SetStatus(state, policy, check, message string) {
if c.token == "" {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a cheesy way to make this optional for now. We have more immediate use cases and I can circle back and refactor. I'm thinking of a Summarizer interface that can be GitHub, PlainText,etc..

@andrewrynhard
andrewrynhard merged commit 3be1319 into siderolabs:master Jun 29, 2019
@andrewrynhard
andrewrynhard deleted the github-action branch August 7, 2019 20:39
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.

1 participant