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: /scripts/ci/pr-model.mjs - name: Check the model and coding tool declarations env: GITHUB_TOKEN: ${{ github.token }} run: node scripts/ci/pr-model.mjs