From 50899d8d5d24dfa976dce7a0472520d33ccafe18 Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Sun, 18 Oct 2026 07:15:33 -0400 Subject: [PATCH] ci: run the claim and triage bot tests Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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