🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
ci: run zizmor on fork PRs by failing on findings (#13263)
Tobias Wochinger5a7420ec2a93
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.ymlindex 0b0c98fee8..28994da016 100644--- a/.github/workflows/zizmor.yml+++ b/.github/workflows/zizmor.yml@@ -16,7 +16,6 @@ permissions: {}jobs:zizmor:name: Check GitHub Actions security- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repositoryruns-on: ubuntu-latestpermissions:security-events: write@@ -26,7 +25,16 @@ jobs:uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:persist-credentials: false- - name: Run zizmor++ - name: Run zizmor (fork PR - fail on findings)+ # Fork PRs don't get security-events: write on GITHUB_TOKEN, so SARIF+ # upload isn't possible. Fail the job on findings instead so contributors+ # see the error directly in the PR check.+ if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository+ uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3++ - name: Run zizmor (trusted - upload SARIF)+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repositoryuses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3with:# Means that the action will only report issues, but not fail the workflow.