Skip to content

feat: introduces plugin v2#7

Merged
gusfcarvalho merged 2 commits intomainfrom
gc-feat-plugin-v2
Mar 25, 2026
Merged

feat: introduces plugin v2#7
gusfcarvalho merged 2 commits intomainfrom
gc-feat-plugin-v2

Conversation

@gusfcarvalho
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copy link
Copy Markdown

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 updates the GitHub Settings plugin to the v2 plugin lifecycle by adding initialization support and switching to the v2 runner, alongside a dependency/tooling refresh.

Changes:

  • Add Init implementation and register RunnerV2GRPCPlugin in the plugin server.
  • Bump compliance-framework agent/api dependencies and update module Go version metadata.
  • Update example Rego policy layout and pin the gooci CLI version in CI.

Reviewed changes

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

Show a summary per file
File Description
main.go Adds Init and switches plugin serving to RunnerV2GRPCPlugin.
go.mod Updates agent/go-plugin deps and changes the Go version directive.
go.sum Regenerates dependency checksums for the upgraded dependency set.
examples/policies/gh_org_mfa_enabled.rego Adjusts example policy metadata structure.
.github/workflows/build-and-upload.yml Pins gooci install to a specific version.

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

Comment thread go.mod
Comment thread examples/policies/gh_org_mfa_enabled.rego
Comment thread examples/policies/gh_org_mfa_enabled.rego
Comment thread main.go
@gusfcarvalho gusfcarvalho merged commit 04161a1 into main Mar 25, 2026
6 checks passed
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