Commit approvals
On a private repository of a GitHub organization, a commit from a person outside your workspace waits until an admin approves it.
Other people can push to your repositories, but they are not always members of your workspace. Conic does not deploy their commits on its own. Each of their commits waits for an approval.
When a commit waits
A commit waits for approval when all of these are true:
- The repository is on GitHub.
- The repository is private.
- A GitHub organization owns the repository.
- The author of the commit is not a member of your workspace.
Commits to public repositories, and to repositories of a personal GitHub account, deploy with no approval. Commits from members deploy with no approval.
What you see
- On the project, the banner Deployment waiting for approval shows the commit and its author.
- On GitHub, the commit has a pending status that says it waits for a workspace admin.
Approve or decline
On the banner, click Approve or Decline.
- An approved commit builds like any push: production for the production branch, a preview for any other branch.
- A declined commit never builds. Its status on GitHub says that an admin declined it.
On Free and Pro, you approve the commits. On Team, owners and admins approve them. Members see the waiting commits but cannot approve them.
Invite the author
On Team, an admin can invite the author from the same banner, if the author has a Conic account. When the author accepts, their next pushes deploy with no approval. See Members and roles.
A commit from a member waits
Conic knows that a commit is from a member only when the GitHub account of the member is connected to Conic. If a commit from a member waits, approve it this time. Then ask the member to connect GitHub in Conic.