Skip to content
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

Use GitHub checks to handle CI completion #255

Open
Riscky opened this issue Mar 28, 2024 · 0 comments
Open

Use GitHub checks to handle CI completion #255

Riscky opened this issue Mar 28, 2024 · 0 comments

Comments

@Riscky
Copy link

Riscky commented Mar 28, 2024

Hoff currently has functionality to configure required checks, introduced in #202
This makes use of the context field of the commit status webhook.
This field isn't very well documented, but apparently contains a string that indicates which check was changed (?).
One can set the required checks in the Hoffs configuration, per project (projects.[].checks.mandatory).

GitHub checks can be marked as required, and Hoff could use that.
This way, one could set the required checks in GitHubs interface.
Compared to setting the required checks in the configuration file, to a under-documented value, this is easier to manage.

Specific use case: we want to report different jobs of a CI pipeline to GitHub separately, so all checks are visible in the GitHub interface.
We found keeping the Hoff configuration up to date with which of these jobs are required to quite the hassle.

CC @DanielNoord

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

No branches or pull requests

1 participant