chore(deps): update ci workflow deps #9
Workflow file for this run
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: "Test Bot Scripts" | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| paths: | |
| - ".github/scripts/**" | |
| - ".github/workflows/test-bot-scripts.yaml" | |
| workflow_dispatch: # Manual trigger for testing | |
| defaults: | |
| run: | |
| shell: bash | |
| concurrency: | |
| group: test-bot-scripts-${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-bot-scripts: | |
| name: Test Bot Scripts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: "20" | |
| - name: Lint bot scripts | |
| working-directory: .github/scripts | |
| run: | | |
| npm ci | |
| npx eslint . --ext .js | |
| - name: Run Check Helpers Tests | |
| run: node .github/scripts/tests/test-checks.js | |
| - name: Run Comment Helpers Tests | |
| run: node .github/scripts/tests/test-comments.js | |
| - name: Run API Helpers Tests | |
| run: node .github/scripts/tests/test-api.js | |
| - name: Run Recommend Issues Bot Tests | |
| run: node .github/scripts/tests/test-recommend-issues-bot.js | |
| - name: Run On-PR-Open Bot Tests | |
| run: node .github/scripts/tests/test-on-pr-open-bot.js | |
| - name: Run On-PR-Update Bot Tests | |
| run: node .github/scripts/tests/test-on-pr-update-bot.js | |
| - name: Run On-Comment (Assign) Bot Tests | |
| run: node .github/scripts/tests/test-assign-bot.js | |
| - name: Run Inactivity Bot Tests | |
| run: node .github/scripts/tests/test-inactivity-bot.js | |
| - name: Run On-PR-Review Bot Tests | |
| run: node .github/scripts/tests/test-on-pr-review-bot.js | |
| - name: Run On-PR-Merged Bot Tests | |
| run: node .github/scripts/tests/test-on-pr-merged-bot.js | |
| - name: Run On-Comment Bot Tests | |
| run: node .github/scripts/tests/test-on-comment-bot.js |