-
-
Notifications
You must be signed in to change notification settings - Fork 8
chore: review CI workflows #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
46043f7 to
aaba6a3
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #151 +/- ##
=======================================
Coverage 98.25% 98.25%
=======================================
Files 23 23
Lines 1886 1886
=======================================
Hits 1853 1853
Misses 33 33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This enables zizmor per cpp-linter/.github#46
I suppose we could lock the zizmor version with uv.
But most analysis by zizmore is skipped when GH_TOKEN (or --token) is not provided.
uvx zizmor .github/workflows/*.yml
INFO zizmor::registry: skipping impostor-commit: can't run without a GitHub API token
INFO zizmor::registry: skipping ref-confusion: can't run without a GitHub API token
INFO zizmor::registry: skipping known-vulnerable-actions: can't run without a GitHub API token
INFO zizmor::registry: skipping forbidden-uses: audit not configured
INFO zizmor::registry: skipping stale-action-refs: can't run without a GitHub API token
INFO audit: zizmor: 🌈 completed .github\workflows\analyze-workflows.yml
INFO audit: zizmor: 🌈 completed .github\workflows\codeql.yml
INFO audit: zizmor: 🌈 completed .github\workflows\docs.yml
INFO audit: zizmor: 🌈 completed .github\workflows\labeler.yml
INFO audit: zizmor: 🌈 completed .github\workflows\pre-commit.yml
INFO audit: zizmor: 🌈 completed .github\workflows\release-drafter.yml
INFO audit: zizmor: 🌈 completed .github\workflows\release.yml
INFO audit: zizmor: 🌈 completed .github\workflows\stale.yml
INFO audit: zizmor: 🌈 completed .github\workflows\tests.yml
No findings to report. Good job! (19 suppressed)- adjust CI matrix about tested clang versions and switch back to ubuntu-latest - pin actions to their SHA instead of using their tags - change dependabot updates to monthly check - rewrite release CI (per cpp-linter/.github#41) - explicitly specify permissions needed - add zizmor static analysis
Some permissions were in adequate after merging #151. This was hard to predict because the permission requirements changed between PR and push events to main.
zizmorfor static analysis of GitHub Actions .github#46)