Files
awesome-opencode/.github/workflows/scout.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

37 lines
822 B
YAML

# Weekly discovery of OpenCode V2 plugins and SDK tools on npm that are not in the catalog yet.
# Opens a "Scout" issue; ticking a candidate's box opens a PR (see issues.yml).
name: Scout V2 packages
on:
schedule:
- cron: '0 8 * * 1'
workflow_dispatch:
permissions:
contents: read
pull-requests: read
issues: write
jobs:
scout:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: '24'
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Find candidates
env:
GITHUB_TOKEN: ${{ github.token }}
run: node scripts/scout.js run