From 9f964bf58d88fa90c80bfa6e2a8c6ac48e797d0c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 23:27:25 +0000 Subject: [PATCH 1/4] Initial plan From feb4c01ec6ce39371af4f9d838e23b51e5bb2218 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 23:29:39 +0000 Subject: [PATCH 2/4] Configure e2e tests to run on ready-for-review PRs only Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com> --- .github/workflows/claude-code-test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude-code-test.yml b/.github/workflows/claude-code-test.yml index eb9e6333..6e2e1ec6 100644 --- a/.github/workflows/claude-code-test.yml +++ b/.github/workflows/claude-code-test.yml @@ -9,16 +9,14 @@ on: required: false default: 'false' type: boolean - # Run on PRs that modify core code + # Run on PRs that are ready for review (not drafts) pull_request: + types: [opened, synchronize, reopened, ready_for_review] branches: ["*"] paths: - 'src/deepwork/**' - 'tests/**' - '.github/workflows/claude-code-test.yml' - # Scheduled run for continuous validation - schedule: - - cron: '0 6 * * 1' # Weekly on Monday at 6 AM UTC # Ensure only one instance runs at a time per PR/branch concurrency: @@ -91,7 +89,7 @@ jobs: claude-code-e2e: runs-on: ubuntu-latest needs: validate-generation - if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' + if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.draft == false) env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} steps: From 638e3dcbb90259981610e0f441a9004bb4f5e871 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 23:42:53 +0000 Subject: [PATCH 3/4] Change e2e tests to run on merge queue only, add merge queue to validate workflow Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com> --- .github/workflows/claude-code-test.yml | 12 +++--------- .github/workflows/validate.yml | 1 + 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/claude-code-test.yml b/.github/workflows/claude-code-test.yml index 6e2e1ec6..502d4338 100644 --- a/.github/workflows/claude-code-test.yml +++ b/.github/workflows/claude-code-test.yml @@ -9,14 +9,8 @@ on: required: false default: 'false' type: boolean - # Run on PRs that are ready for review (not drafts) - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - branches: ["*"] - paths: - - 'src/deepwork/**' - - 'tests/**' - - '.github/workflows/claude-code-test.yml' + # Run in the merge queue to validate before merging + merge_group: # Ensure only one instance runs at a time per PR/branch concurrency: @@ -89,7 +83,7 @@ jobs: claude-code-e2e: runs-on: ubuntu-latest needs: validate-generation - if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.draft == false) + if: github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group' env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} steps: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ce6c978d..5b3cfb74 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -2,6 +2,7 @@ name: Validate on: pull_request: + merge_group: jobs: tests: From ed3eee334030b0fe0052a3a6fdda5b96e52641f4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 23:50:36 +0000 Subject: [PATCH 4/4] Add copilot-swe-agent[bot] to CLA allowlist Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com> --- .github/workflows/cla.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 38196f17..ba8f9e48 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -29,7 +29,7 @@ jobs: path-to-document: 'https://github.com/${{ github.repository }}/blob/main/CLA/version_1/CLA.md' # Branch where CLA signatures will be stored branch: 'IMPT_cla_signatures' - allowlist: 'dependabot[bot],github-actions[bot],claude,copilot' + allowlist: 'dependabot[bot],github-actions[bot],claude,copilot,copilot-swe-agent[bot]' # Custom text for the CLA comment custom-pr-sign-comment: 'I have read the CLA Document and I hereby sign the CLA'