* 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
28 lines
720 B
YAML
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
|