Skip to content

CI improvements from LXD#1333

Merged
roosterfish merged 11 commits intocanonical:mainfrom
simondeziel:zizmor
Apr 21, 2026
Merged

CI improvements from LXD#1333
roosterfish merged 11 commits intocanonical:mainfrom
simondeziel:zizmor

Conversation

@simondeziel
Copy link
Copy Markdown
Member

No description provided.

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

Updates GitHub Actions CI workflows to improve security posture (credential persistence, action pinning signals) and enhance vulnerability scanning (Trivy SARIF + KEV tagging), based on patterns from LXD.

Changes:

  • Disable persisted git credentials on actions/checkout across multiple workflows/jobs.
  • Rework Trivy security scanning to use aquasecurity/trivy-action, upload SARIF, and tag KEV-listed CVEs.
  • Pin the documentation reusable workflow by commit and add zizmor ignore annotations for specific findings.

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/triage.yml Adds zizmor suppression for pull_request_target trigger warning.
.github/workflows/tests.yml Disables checkout credential persistence in jobs; pins doc workflow by commit; adds zizmor suppression for an unpinned reusable action.
.github/workflows/security.yml Migrates Trivy scanning to aquasecurity/trivy-action, adds KEV tagging logic, and adjusts permissions/conditions.
.github/workflows/codeql.yml Disables checkout credential persistence for CodeQL job.
.github/actions/system-test/action.yml Adds checkout credential hardening and zizmor suppressions; refactors input usage in bash steps.

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

Comment thread .github/actions/check-changes/action.yml
Comment thread .github/workflows/security.yml
Comment thread .github/workflows/security.yml
Comment thread .github/workflows/tests.yml
Comment thread .github/actions/system-test/action.yml
@roosterfish
Copy link
Copy Markdown
Contributor

The Ceph failures are likely related to MicroCeph latest/edge now serving tentacle. I am addressing the necessary updates in #1338.

I just saw you have also added two commits for the MicroCeph versions checks. I have aligned it with the MicroOVN and LXD check to support the the current LTS + the latest/edge version. Also the test suite requires tweaks due to the switch to Microcluster v3 in MicroCeph.

@simondeziel
Copy link
Copy Markdown
Member Author

The Ceph failures are likely related to MicroCeph latest/edge now serving tentacle. I am addressing the necessary updates in #1338.

Ack, will rebase once it lands.

@roosterfish
Copy link
Copy Markdown
Contributor

Can be rebased now.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…zizmor)

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…zmor)

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Copy link
Copy Markdown
Contributor

@roosterfish roosterfish left a comment

Choose a reason for hiding this comment

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

Thanks!

@roosterfish
Copy link
Copy Markdown
Contributor

Happy with the changes @simondeziel ?

@simondeziel simondeziel marked this pull request as ready for review April 21, 2026 15:03
@simondeziel
Copy link
Copy Markdown
Member Author

Happy with the changes @simondeziel ?

Oops, out of draft now ;)

@roosterfish roosterfish merged commit eb2ed72 into canonical:main Apr 21, 2026
29 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.

3 participants