Repository work
ForgeGap works in GitHub repos through a GitHub App. It works on branches and opens pull requests.
Status: Built, not released
The GitHub connector will work on branches and pull requests. A named human owner or approver will approve production merges, releases and other one-way actions.
Status: Planned
Identify the repository owner, selected repositories and production branches.
Scopes to review
Compare the installation access with the source scope “Repository-scoped contents, pull requests, issues, checks and actions”.
Record the GitHub account administrator who can review or remove the installation.
Actions and server risk classes
A fixed table on the server decides which actions need a person. The agent does not choose.
Status: Built, not released
GitHub actions in the source connector registry
| Action | Tool | Server class | Approval |
|---|---|---|---|
| Read repository details | github_repository | None (read) | None. It only reads. |
| Read a branch reference | github_reference | None (read) | None. It only reads. |
| Read open pull requests | github_open_prs | None (read) | None. It only reads. |
| Read checks on the default branch | github_default_branch_checks | None (read) | None. It only reads. |
| Read older open issues | github_old_issues | None (read) | None. It only reads. |
| Read Dependabot alerts | github_dependabot_alerts | None (read) | None. It only reads. |
| Read the repository and current branch | github_read | None (read) | None. It only reads. |
| Push a work branch in a private repository | github_push_branch | branch-work (two-way) | None. It acts, then reports. |
| Push a work branch that changes guardrail files, in any repository | github_push_branch | guardrail-edit (one-way) | An owner approves first. |
| Push a work branch in a private repository that changes legal files | github_push_branch | branch-work (two-way) | None. It acts, then reports. |
| Push a work branch in a private repository that changes infrastructure files | github_push_branch | branch-work (two-way) | None. It acts, then reports. |
| Push a work branch in a public or internal repository, or when GitHub does not report the repository as private | github_push_branch | external-message (one-way) | An owner or approver approves first. |
| Edit guardrail files | github_edit_guardrail | guardrail-edit (one-way) | An owner approves first. |
| Open a pull request in a private repository | github_open_pr | branch-work (two-way) | None. It acts, then reports. |
| Open a pull request in a private repository that changes guardrail files | github_open_pr | branch-work (two-way) | None. It acts, then reports. |
| Open a pull request in a private repository that changes legal files | github_open_pr | branch-work (two-way) | None. It acts, then reports. |
| Open a pull request in a private repository that changes infrastructure files | github_open_pr | branch-work (two-way) | None. It acts, then reports. |
| Open a pull request in a public or internal repository, or when GitHub does not report the repository as private | github_open_pr | external-message (one-way) | An owner or approver approves first. |
| Comment on a pull request in a private repository | github_comment | branch-work (two-way) | None. It acts, then reports. |
| Comment on a pull request in a public or internal repository, or when GitHub does not report the repository as private | github_comment | external-message (one-way) | An owner or approver approves first. |
| Merge a pull request | github_merge | merge-production (one-way) | An owner or approver approves first. |
| Merge a pull request that changes guardrail files | github_merge | merge-production (one-way) | An owner or approver approves first. |
| Extra approval for guardrail files in a merge | github_merge | guardrail-edit (one-way) | An owner approves first. |
| Merge a pull request that changes legal files | github_merge | merge-production (one-way) | An owner or approver approves first. |
| Extra approval for legal files in a merge | github_merge | pricing-legal-text (one-way) | An owner or approver approves first. |
| Merge a pull request that changes infrastructure files | github_merge | merge-production (one-way) | An owner or approver approves first. |
| Extra approval for infrastructure files in a merge | github_merge | guardrail-edit (one-way) | An owner approves first. |
| Change repository visibility | github_set_visibility | publish-release (one-way) | An owner or approver approves first. |
| Publish a release | github_publish_release | publish-release (one-way) | An owner or approver approves first. |
Read this table as the current source rule for each action. Read the approval wording of the cited ledger rows on this page as under review where it differs.
Read one-way as an action that waits for approval, and two-way as an action that acts, then reports.
Read “An owner approves first” as an action that only an owner can approve.
Read the named approver for each one-way class on the Console detail page.
Read a push to a protected branch, such as main, as a change that will not happen, even after approval.
Identify guardrail files as CI workflows, CODEOWNERS files and repository rulesets.
Identify legal files as files whose names start with terms, privacy, pricing or license.
Who approves
A named owner or approver will approve each one-way action. The approval will bind the exact payload and will be usable once.
Status: Planned
Name the owner or approver for production merges and releases.
Review the target branch and exact repository change before approval.
Revocation preparation
Record the installation identifier and the account administrator’s procedure for removing its access.
List pending repository actions to review when access ends.
Check the current connection
Choose Connectors at /settings/connectors in the intended workspace, then choose GitHub.
Read Account and access, Granted scope, Last health check and the action classes before choosing a connection action.
Choose Test connection, and read “Connection test passed” or “Connection test failed” before starting dependent work.
Identify a workspace owner for Connect, Pause, Resume and Disconnect.
Read Test connection as the only connection control that an approver sees.
Review pending changes before choosing Disconnect.
Read the Disconnect dialog, which states that it cancels pending changes and deletes the workspace credential.
Choose Disconnect, type the connector name, and confirm Disconnect.
Prepare your second sign-in factor before choosing Disconnect.
Choose Connect GitHub to connect the account again after a disconnection.
Record an unavailable or denied control as an access issue, not as a completed connection.
Keep provider-side revocation separate from Disconnect.
Name that service’s account administrator as the person who revokes an exposed credential.