Skip to content

feat: update to go public - #6

Merged
cowan-macady merged 1 commit into
masterfrom
go-public
Jul 30, 2026
Merged

feat: update to go public#6
cowan-macady merged 1 commit into
masterfrom
go-public

Conversation

@cowan-macady

@cowan-macady cowan-macady commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

implement ENG-9423

update to go public

Copilot AI review requested due to automatic review settings July 30, 2026 10:40
@deepsource-io

deepsource-io Bot commented Jul 30, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in fa03b53...438291f on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Go Jul 30, 2026 10:45a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Not ready to approve

The inlined pre-commit configuration introduces a validate-manifest hook that will fail because the repository does not include a .pre-commit-hooks.yaml manifest (and the files regex should be tightened).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

This PR updates repository configuration to support “going public” by removing organization-private dependencies from security/scanning and developer tooling configuration.

Changes:

  • Removes an internal path comment from the Trivy config data registry allowlist.
  • Replaces a private-repo (ops-common) pre-commit dependency with inlined repo: local hooks.
  • Simplifies the documented pre-commit installation instructions by removing the post-checkout hook mention.
File summaries
File Description
.trivy_data.yaml Adjusts trusted registry configuration to remove an internal comment reference.
.pre-commit-config.yaml Inlines pre-commit hooks locally to avoid SSH/private repo dependency and updates usage docs.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Low

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread .pre-commit-config.yaml Outdated
Comment on lines +56 to +62
- id: pre-commit-validate-manifest
name: pre-commit/validate-manifest
files: .pre-commit-config.yaml
entry: pre-commit validate-manifest
language: system
always_run: false
pass_filenames: false

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated

Comment thread .pre-commit-config.yaml Outdated
implement [ENG-9423]
Copilot AI review requested due to automatic review settings July 30, 2026 10:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Not ready to approve

The new local shfmt hook uses long-form CLI flags that are likely invalid for the standard shfmt binary, which would break pre-commit runs.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Review details

Comments suppressed due to low confidence (1)

.pre-commit-config.yaml:70

  • The shfmt hook is configured with long-form flags (--list/--write/--diff/--indent), but the standard shfmt binary (as installed via the documented brew install ... shfmt) uses short flags (-l/-w/-d/-i). With the current args, this hook is likely to fail with an "unknown flag" error when it runs.
        args: [--list, --write, --diff, --indent, "4"]
  • Files reviewed: 2/2 changed files
  • Comments generated: 0 new
  • Review effort level: Low

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@cowan-macady
cowan-macady requested a review from yetizer July 30, 2026 10:50
@cowan-macady
cowan-macady merged commit d3e1048 into master Jul 30, 2026
9 checks passed
@cowan-macady
cowan-macady deleted the go-public branch July 30, 2026 15:28
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.

3 participants