Skip to content

fix(ci): limit push secret scans to main - #852

Merged
yaozheng-fang merged 1 commit into
volcengine:mainfrom
evanlowe:fix/secret-scan-branch-triggers
Aug 9, 2026
Merged

fix(ci): limit push secret scans to main#852
yaozheng-fang merged 1 commit into
volcengine:mainfrom
evanlowe:fix/secret-scan-branch-triggers

Conversation

@evanlowe

@evanlowe evanlowe commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • run push-triggered secret scans only on main
  • keep secret scanning enabled for every pull request
  • avoid full-history TruffleHog scans when a feature branch is created with an all-zero before SHA

Validation

  • uv run pre-commit run --all-files
  • verified a feature-branch push does not start the Secret Scan workflow
  • verify the pull-request Secret Scan completes successfully in CI

@yaozheng-fang
yaozheng-fang merged commit a887774 into volcengine:main Aug 9, 2026
7 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