-
Notifications
You must be signed in to change notification settings - Fork 7.1k
ci: move security scanning to shared workflow #3900
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
Merged
julianocosta89
merged 6 commits into
open-telemetry:main
from
opentelemetrybot:zizmor-rollout/batch-9-20260825-20260826
Sep 1, 2026
+13
−37
Merged
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
fa50095
ci: add shared zizmor workflow
opentelemetrybot 289dc97
ci: run zizmor as a standalone workflow
opentelemetrybot 224274b
ci: remove stale zizmor dependency
opentelemetrybot b8dd00d
ci: satisfy strict YAML lint
opentelemetrybot 49f867d
Merge branch 'main' into zizmor-rollout/batch-9-20260825-20260826
julianocosta89 2a5eb70
Merge branch 'main' into zizmor-rollout/batch-9-20260825-20260826
Kielek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,23 @@ | ||
| # Copyright The OpenTelemetry Authors | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| name: zizmor scan | ||
| name: Zizmor | ||
|
|
||
| on: | ||
| workflow_call: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| schedule: | ||
|
opentelemetrybot marked this conversation as resolved.
|
||
| - cron: '39 11 * * 6' # weekly at 11:39 UTC on Saturday | ||
| workflow_dispatch: | ||
|
opentelemetrybot marked this conversation as resolved.
|
||
|
|
||
| permissions: {} | ||
|
|
||
| concurrency: | ||
| group: zizmor-workflow-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: false | ||
|
|
||
| env: | ||
| FORCE_COLOR: 3 | ||
| TERM: xterm | ||
|
|
||
| jobs: | ||
| zizmor: | ||
| name: Scan with zizmor | ||
| runs-on: ubuntu-24.04 | ||
| permissions: | ||
|
opentelemetrybot marked this conversation as resolved.
|
||
| actions: read # required to scan GitHub Actions workflows | ||
| contents: read # required to checkout the repository | ||
| security-events: write # required to upload zizmor SARIF to code scanning | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| filter: "tree:0" | ||
| persist-credentials: false | ||
| show-progress: false | ||
|
|
||
| - name: Scan workflows with zizmor | ||
| uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2 | ||
| with: | ||
| persona: pedantic | ||
| contents: read # for actions/checkout | ||
| security-events: write # for zizmor to upload SARIF results | ||
| uses: open-telemetry/shared-workflows/.github/workflows/zizmor.yml@d9b812f9924a121c6a8276ea2f9e6f5b622cdd4d # v0.10.0 | ||
| with: | ||
| persona: pedantic | ||
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.
Uh oh!
There was an error while loading. Please reload this page.