diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e38f5cb..4b53f83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,6 +114,19 @@ jobs: printf 'everything=true\nsolver=true\nwasm=true\n' >>"$GITHUB_OUTPUT" fi + bots: + name: Claim and triage bot tests + if: github.event.schedule != '41 4 * * 0' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository || github.event.pull_request.user.login == 'dependabot[bot]') + runs-on: ubuntu-24.04 + timeout-minutes: 5 + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + sparse-checkout: scripts + # scripts/claim and scripts/triage run in .github/workflows/claim.yml and triage.yml through + # actions/github-script; their tests use only node:test against a fake client. + - run: node --test scripts/claim/*.test.js scripts/triage/*.test.js + ci: name: cargo xtask ci needs: plan