Skip to content

chore(ci): security hardening - #1

Merged
iota9star merged 1 commit into
mainfrom
chore/security-hardening
Aug 13, 2026
Merged

chore(ci): security hardening#1
iota9star merged 1 commit into
mainfrom
chore/security-hardening

Conversation

@iota9star

Copy link
Copy Markdown
Member

Closes fluttercandies/security-scanner#26

Changes

Pins all third-party GitHub Actions to immutable commit SHAs and hardens credential handling, addressing zizmor findings (unpinned-uses, artipacked).

.github/workflows/benchmark.yml

  • unpinned-uses (4 High): Pinned actions/checkout, dart-lang/setup-dart, oven-sh/setup-bun, and actions/upload-artifact to commit SHAs.
  • artipacked (1 Low): Added persist-credentials: false to the actions/checkout step.

.github/workflows/test.yml

  • unpinned-uses (2 High): Pinned actions/checkout and dart-lang/setup-dart to commit SHAs.
  • artipacked (1 Low): Added persist-credentials: false to the actions/checkout step.

Copilot AI lite review requested due to automatic review settings August 13, 2026 14:14

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

This PR hardens CI security by pinning third-party GitHub Actions to immutable commit SHAs and disabling persisted Git credentials in checkout steps, addressing reported zizmor findings (unpinned-uses, artipacked).

Changes:

  • Pin actions/checkout and dart-lang/setup-dart to commit SHAs in test.yml, and disable persist-credentials.
  • Pin actions/checkout, dart-lang/setup-dart, oven-sh/setup-bun, and actions/upload-artifact to commit SHAs in benchmark.yml, and disable persist-credentials.

Reviewed changes

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

File Description
.github/workflows/test.yml Pins checkout/setup-dart to SHAs and disables persisted credentials for safer CI execution.
.github/workflows/benchmark.yml Pins all referenced actions to SHAs and disables persisted credentials; keeps artifact upload pinned as well.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@iota9star
iota9star merged commit df9bdd6 into main Aug 13, 2026
6 checks passed
@iota9star
iota9star deleted the chore/security-hardening branch August 13, 2026 14:21
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.

[CI/CD Security] fluttercandies/lon - Issue Report

2 participants