Files
awesome-opencode/.github/workflows/health.yml
T
John SmithandClaude Opus 5.5 fdef3018ba fix(security): address CodeQL and SonarCloud findings
- Escape backslashes as well as pipes in markdown table cells
- Decide gist/discussion/npm-page links by parsed hostname instead of substring or unanchored regex checks (README, site)
- Encode every '/' in scoped npm names; validate npm names before calling the registry
- The REST helper only calls https://api.github.com and rejects dot segments
- npm ci --ignore-scripts in every workflow (no dependency needs install scripts)
- Move write permissions to job level in issues.yml and site.yml

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-17 13:10:04 -04:00

42 lines
950 B
YAML

# Nightly catalog health: updates the "Catalog health report" issue, and opens bot PRs that follow
# renamed repos and remove entries dead for 30+ days (or V1-only plugins after the sunset date).
name: Catalog health
on:
schedule:
- cron: '17 5 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
issues: write
actions: write
concurrency:
group: catalog-health
cancel-in-progress: false
jobs:
health:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: '24'
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Check health and open bot PRs
env:
GITHUB_TOKEN: ${{ github.token }}
run: node scripts/health-check.js --issue --open-prs