Skip to content

ci: pre-commit updates; ci tweaks - #399

Merged
alexpriv8 merged 1 commit into
masterfrom
ci/tweaks-20260728
Jul 28, 2026
Merged

ci: pre-commit updates; ci tweaks#399
alexpriv8 merged 1 commit into
masterfrom
ci/tweaks-20260728

Conversation

@alexpriv8

Copy link
Copy Markdown
Contributor
  • ci: pre-commit pinning & updates;
  • ci tweaks

Copilot AI review requested due to automatic review settings July 28, 2026 16:52
@alexpriv8
alexpriv8 requested review from a team as code owners July 28, 2026 16:52
@alexpriv8
alexpriv8 requested a review from CanobbioE July 28, 2026 16:52
@deepsource-io

deepsource-io Bot commented Jul 28, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 8bf3556...90b7d98 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
Secrets Jul 28, 2026 4:52p.m. Review ↗
Shell Jul 28, 2026 4:52p.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.

@alexpriv8
alexpriv8 merged commit 6f52ba5 into master Jul 28, 2026
12 checks passed
@alexpriv8
alexpriv8 deleted the ci/tweaks-20260728 branch July 28, 2026 16:54

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.

Pull request overview

Updates CI/security tooling configuration to improve pre-commit reproducibility and adjust Trivy/GitHub Actions behavior across test, release, and cache workflows.

Changes:

  • Pins/upgrades multiple pre-commit hooks using --freeze (commit-SHA revs) and updates hook revisions.
  • Tweaks Trivy configuration/output and adjusts Trivy workflow permissions/inputs.
  • Switches checkout steps in CI workflows to a shared git-checkout action and updates release GCP service account input.

Reviewed changes

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

Show a summary per file
File Description
.trivy.yaml Enables suppressed finding display and tidies config formatting.
.pre-commit-config.yaml Freezes and updates hook revisions to commit SHAs for reproducible installs.
.github/workflows/tests.yaml Uses shared org checkout action for test workflow.
.github/workflows/release.yaml Uses shared org checkout action and updates GCP auth service account secret reference.
.github/workflows/pre-commit-cache.yaml Expands workflow permissions and removes explicit Trivy github_token input.
Comments suppressed due to low confidence (1)

.github/workflows/pre-commit-cache.yaml:15

  • The permission comments say "master only", but this workflow runs on both main and master (and others). Update the comments to reflect that these permissions are only needed/used on the repository default branch, not specifically "master".
  security-events: write # required for trivy to upload SARIF to GitHub Security tab (master only)
  actions: write # required for trivy to upload SBOM artifact (master only)

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

Comment on lines 89 to 91
- name: actions/checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - https://github.com/actions/checkout/releases
uses: indykite/.github/.github/actions/git-checkout@master # actions/checkout with dynamic fetch-depth resolution

Comment on lines 21 to 24
steps:
- name: actions/checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - https://github.com/actions/checkout/releases
uses: indykite/.github/.github/actions/git-checkout@master # actions/checkout with dynamic fetch-depth resolution

Comment on lines 12 to 16
permissions:
contents: write # required for trivy to upload artifacts
security-events: write # required for trivy to upload SARIF to GitHub Security tab (master only)
actions: write # required for trivy to upload SBOM artifact (master only)

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