chore(deps-dev): bump @types/vscode from 1.99.1 to 1.120.0 #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Review Thread Gate | |
| on: | |
| pull_request_review: | |
| pull_request_review_comment: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.review.pull_request.number || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| thread-gate: | |
| name: Review Thread Gate | |
| if: >- | |
| github.repository == 'oaslananka-lab/kicad-studio' && | |
| (github.event.pull_request == null || github.event.pull_request.draft == false) | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | |
| with: | |
| node-version-file: .node-version | |
| - name: Check unresolved review threads | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_NUMBER: ${{ github.event.pull_request.number || github.event.review.pull_request.number || github.event.comment.pull_request_number }} | |
| run: | | |
| if [ -z "${PR_NUMBER}" ]; then | |
| echo 'No pull request number found; skipping.' | |
| exit 0 | |
| fi | |
| node scripts/check-review-threads.mjs --repo "${{ github.repository }}" --pr "${PR_NUMBER}" --fail-on-actionable |