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' diff --git a/.github/workflows/claude-code-test.yml b/.github/workflows/claude-code-test.yml index eb9e6333..502d4338 100644 --- a/.github/workflows/claude-code-test.yml +++ b/.github/workflows/claude-code-test.yml @@ -9,16 +9,8 @@ on: required: false default: 'false' type: boolean - # Run on PRs that modify core code - pull_request: - 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 + # Run in the merge queue to validate before merging + merge_group: # Ensure only one instance runs at a time per PR/branch concurrency: @@ -91,7 +83,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 == '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: