ci: add shared security scanning workflow - #4465
Open
opentelemetrybot wants to merge 4 commits into
Open
Conversation
Add persist-credentials: false to checkout steps, set Dependabot cooldown, move step outputs into env instead of expanding them into run blocks, and replace the CMD shell with pwsh.
80 tasks
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
There was a problem hiding this comment.
Pull request overview
Adds a shared, SHA-pinned Zizmor security scanning workflow and hardens GitHub Actions security practices.
Changes:
- Adds scheduled, PR, push, and manual Zizmor scanning with SARIF upload.
- Disables persisted checkout credentials across workflows.
- Hardens shell handling and adds Dependabot cooldowns.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Summary |
|---|---|
.github/workflows/zizmor.yml |
Adds shared Zizmor scanning. |
.github/workflows/iwyu.yml |
Disables checkout credential persistence. |
.github/workflows/fossa.yml |
Disables checkout credential persistence. |
.github/workflows/doxygen-tidy.yaml |
Disables checkout credential persistence. |
.github/workflows/dependencies_image.yml |
Disables checkout credential persistence. |
.github/workflows/cppcheck.yml |
Disables checkout credential persistence. |
.github/workflows/codeql-analysis.yml |
Disables checkout credential persistence. |
.github/workflows/cmake_install.yml |
Disables checkout credential persistence. |
.github/workflows/clang-tidy.yaml |
Hardens environment variable handling. |
.github/workflows/ci.yml |
Disables checkout credentials and updates DocFX shell handling. |
.github/workflows/benchmark.yml |
Disables checkout credential persistence. |
.github/dependabot.yml |
Adds seven-day update cooldowns. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
opentelemetrybot
marked this pull request as ready for review
August 21, 2026 03:43
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4465 +/- ##
==========================================
+ Coverage 82.62% 82.63% +0.01%
==========================================
Files 512 512
Lines 20139 20139
==========================================
+ Hits 16638 16640 +2
+ Misses 3501 3499 -2 🚀 New features to boost your workflow:
|
dbarker
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracked in open-telemetry/sig-security#293.
Adds zizmor scanning through the OpenTelemetry shared workflow.
The workflow:
regularpersona on pull requests, pushes tomain, and a randomized weekly schedule;After merge
zizmorcode-scanning result.If enforcement unexpectedly blocks a valid change, restore
require_zizmor = falseinopen-telemetry/adminwhile leaving scanning enabled.