Skip to content

chore: add public-repo CI, Prettier, and GitHub hygiene #2

chore: add public-repo CI, Prettier, and GitHub hygiene

chore: add public-repo CI, Prettier, and GitHub hygiene #2

Workflow file for this run

name: Security
on:
schedule:
- cron: "0 0 * * 0" # Weekly on Sunday
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
security-events: write
jobs:
codeql:
name: CodeQL Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Initialize CodeQL
uses: github/codeql-action/init@988661ebb5e81487b3fb31b2185d2856c0a10679 # v4
with:
languages: typescript
- name: Autobuild
uses: github/codeql-action/autobuild@988661ebb5e81487b3fb31b2185d2856c0a10679 # v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@988661ebb5e81487b3fb31b2185d2856c0a10679 # v4
audit:
name: Dependency Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: "24"
cache: "npm"
- run: npm ci
- name: Audit dependencies
run: npm audit --audit-level=high