Files
Reims-Go/.github/workflows/pr-model.yml
T
千川白浪 781f129fc1 feat(plugin): custom SVG icons, market stats, submit link, and native locale scaffold (#170)
* feat(plugin): custom SVG icons, market stats, submit link, and native locale scaffold

* chore(ci): allow spaces in PR model names and rename agent declaration to tool

* fix(plugin): validate icon.svg size and markup during static scan
2026-12-04 22:34:12 +08:00

28 lines
720 B
YAML

name: PR Model and Coding Tool Declaration
on:
pull_request_target:
branches: [main]
types: [opened]
permissions: {}
jobs:
model-declaration:
runs-on: ubuntu-latest
timeout-minutes: 2
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.workflow_sha }}
persist-credentials: false
sparse-checkout-cone-mode: false
sparse-checkout: /.github/scripts/pr-model.mjs
- name: Check the model and coding tool declarations
env:
GITHUB_TOKEN: ${{ github.token }}
run: node .github/scripts/pr-model.mjs