GitHub events
GroundZero learns about your changes from GitHub webhooks sent to the GroundZero GitHub App. You do not create any webhook yourself: installing the App subscribes it to the events below. Every delivery is verified with GitHub’s signature before anything is read, and a delivery that fails the check is rejected.
Events and what they do
Section titled “Events and what they do”| Event | Action | What GroundZero does |
|---|---|---|
| Pull request | opened, reopened, synchronize (new commits) |
Scores the change, creates or updates the GitHub check and the pull request comment, and records the change request. |
closed |
Marks the change request merged or closed. The pull request is not scored again. | |
edited (the description changed), labeled, unlabeled |
Only on an open pull request. Refreshes who the change is attributed to when a marker was added or removed, and evaluates the change again only if that moved it between human, agent and bot. See Changes written by AI agents. Edits to the title or the base branch are ignored. | |
| Pull request review | submitted, edited |
Only when the reviewer is a bot account (an AI review agent, a dependency bot) and the pull request is open. Copilot’s review arrives as edited, so an edit of a review that has a state counts too. Records that it reviewed the change, apart from who wrote it. Nothing is evaluated, and a person’s review is never read. |
| Check suite | rerequested |
The Re-run all checks button on the pull request’s Checks tab. Evaluates the pull request again, the same as a re-requested check run. A suite with no pull request is ignored, and a second re-run of the same commit within a minute is answered as a duplicate. requested and completed need nothing from GroundZero and are ignored. |
| Check run | rerequested |
Evaluates the pull request again (the Re-run button on the GroundZero check). The pull request is read again first, so the re-run keeps its author, title and attribution. |
| Push | to the repository’s default branch (whatever it is called; main or master when GitHub names none) |
Records a direct commit and scores it like a pull request. A push to any other branch is ignored: its work reaches GroundZero through its pull request. The check on the commit (GroundZero / Direct Commit Risk Gate) is advisory: the commit has already landed, so a change your policy would block shows as neutral (“review recommended”) instead of failing, and is recorded as blocked in the console until it ships in a release. The console offers no approval for it. |
a tag (refs/tags/*) |
Records a release change request that bundles the pull requests named in the tag’s commits. This is the only evaluation of a lightweight tag (one with no release). | |
| Release | published |
Records the release with its notes and links the pull requests it contains. A tag and its published release share one check run (GroundZero / Release Gate (<tag>)), and the release settles its title and score. Like the check on a direct commit, the release gate is advisory: a tag has already shipped, so it never fails the tag, and a release your policy would block shows as neutral (“review recommended”). The console lists a release as completed, with its score and findings. When the code of a release cannot be read, for example a first release with no earlier tag to compare with, the check is neutral and says “Not analysed”, with the reason. |
| Installation | created, deleted, suspend, unsuspend, new_permissions_accepted |
Provisions the workspace for a new installation (the person who installs it claims it), and keeps it in step when the App is removed, suspended or its permissions change. |
| Installation repositories | added, removed |
Starts or stops monitoring a repository. |
| Repository | renamed, transferred |
Keeps the repository’s name current: its existing changes and releases move to the new name, keep their ids and tickets, and a pull request or tag evaluated again after the rename updates the same change. A repository that was switched off stays off. |
archived, deleted |
Stops monitoring the repository. | |
unarchived |
Monitors the repository again. | |
| Installation target | renamed |
Keeps the name of the GitHub account the App is installed on current. Your workspace’s own name does not change. |
Any other event or action is acknowledged and ignored. The diff is read for the evaluation as described in Security and data.
If a change does not appear
Section titled “If a change does not appear”- Check that the repository is selected on the App’s installation page (Only select repositories).
- Open the pull request’s Checks tab and use Re-run all checks; that sends a fresh event and the pull request is evaluated again.
- Pushes to branches other than the default branch are not scored on their own; they are scored when a pull request is opened from them.