Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Security Analysis

on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
paths:
- ".github/workflows/**"
push:
branches:
- main
paths:
- ".github/workflows/**"

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.ref_name != 'main' }}

jobs:
security:
name: Security Analysis
runs-on: ubuntu-latest
steps:
- uses: oxc-project/security-action@fbbd523b1e765ceb174cb819b92c453bb1da265e # v1.0.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pass GitHub token into security-action

This workflow switched from an inline zizmor step (which exported GH_TOKEN) to oxc-project/security-action, but the pinned action runs zizmor without setting GH_TOKEN/GITHUB_TOKEN; as a result, scans run in offline mode and skip API-backed audits, so some workflow issues can be missed while the job still appears green. Please pass ${{ github.token }} to this step (and keep the needed read permissions) so the new workflow preserves the same audit coverage as the previous one.

Useful? React with 👍 / 👎.

42 changes: 0 additions & 42 deletions .github/workflows/zizmor.yml

This file was deleted.

Loading