Skip to content

feat: add more checks to github repositories#14

Open
gusfcarvalho wants to merge 5 commits intomasterfrom
gc-feat-more-checks
Open

feat: add more checks to github repositories#14
gusfcarvalho wants to merge 5 commits intomasterfrom
gc-feat-more-checks

Conversation

@gusfcarvalho
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copilot AI review requested due to automatic review settings May 6, 2026 11:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the repository “saturation” data gathered by the plugin to support additional compliance checks around access control, environments, deployments, and effective branch rules.

Changes:

  • Add new repository evidence types (collaborators, teams, environments, branch rule evidence) for JSON output.
  • Introduce new repository control gatherers to fetch collaborators, repository teams, environments, and effective ruleset-derived branch requirements.
  • Split deployment fetching to also expose a separate failed_deployments collection.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
types.go Adds new JSON-serializable types for collaborators, repository teams, environments, and branch-rule evidence.
repository_controls.go Implements new GitHub API gatherers for collaborators/teams/environments and effective branch rules evidence.
main.go Extends SaturatedRepository and Eval to include the new gathered data; adds failed-deployments support.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread main.go
Comment thread repository_controls.go
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

Comment thread main.go Outdated
Comment thread repository_controls.go Outdated
Comment thread repository_controls.go Outdated
Comment thread repository_controls.go
Comment thread repository_controls.go Outdated
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread repository_controls.go Outdated
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread repository_controls.go
Comment thread repository_controls.go
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants