cloud-native-toolkit / cloud-native-toolkit/planning
Maureen wants the Tekton pipeline to update the PR status in GitHub
- Dominant language
- No language data
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The GitHub API provides a `Check Run` object that can be created and updated to notify GitHub of the status of the validation process for a pull request. The check look like this in the PR.

We should create a process that uses CloudEvents produced by the Tekton tasks in the pipeline to trigger the creation/update of Check Runs using the GitHub API.
Tasks:
- [ ] Configure a Cloud Event sink - https://tekton.dev/docs/pipelines/events/#events-via-cloudevents
- [ ] Investigate the information available in Pipeline start/end events
- [ ] Enhance gitu to include apis for create and update checks on the git repo
- [ ] Create an event handler to create the check on pipeline start
- [ ] Create an event handler to update the check on pipeline end
- [ ] Develop automation to configure the sink and event handlers
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.