forked from G-Research/fasttrackml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve required checks creation in CI (G-Research#458)
This PR improves how we create the required check "All required checks succeeded" in the following ways: * We now use a GitHub app to create the check instead of using the token provided by GitHub Actions. This allows us to create the check run with its own check suite instead of attaching it to the first GHA check suite, which changes when a pull request is closed and reopened, or when a new run attempt is made. See https://github.com/orgs/community/discussions/24616#discussioncomment-6088422 for more details on this very annoying GitHub limitation. * A check is created and set as `queued` or `in_progress` when the corresponding workflow run's status changes. This is needed so that the check is reset when a new run attempt is made or a PR is reopened. * Logging is improved. * Start/Completion times are added.
- Loading branch information
1 parent
15090be
commit a0d14a0
Showing
1 changed file
with
78 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters