Skip to content

Commit 751b607

Browse files
authored
fix: disable bench in zizmor (#124)
The workflow fails due to OIDC tokens being inaccessible in fork PRs.
1 parent 001f077 commit 751b607

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/self-zizmor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ jobs:
4545
- zizmor-check
4646
if: ${{ needs.zizmor-check.outputs.found-files == 'true' }}
4747

48-
4948
uses: grafana/shared-workflows/.github/workflows/reusable-zizmor.yml@34c8c8ac9e893f60b1f64121dd885c395fd0e642
5049
with:
5150
runs-on: ${{ !github.event.repository.private && 'ubuntu-latest' || 'ubuntu-arm64-small' }}
5251
fail-severity: high
5352
min-severity: high
5453
min-confidence: low
5554
extra-args: --offline
56-
send-bench-metrics: true
55+
# Bench breaks on forks.
56+
send-bench-metrics: false
5757
# Grafana Bench: pass PROMETHEUS_URL (and optionally PROMETHEUS_USER, PROMETHEUS_PASSWORD) for metrics; GAR access for Docker image.
5858
secrets: inherit

0 commit comments

Comments
 (0)