Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test: pin the E2E concurrency group that keys master pushes by commit
garrytana11c4046b7ce
diff --git a/test/scripts/nightly-e2e.test.ts b/test/scripts/nightly-e2e.test.tsindex 3e277701c4..63adf52c82 100644--- a/test/scripts/nightly-e2e.test.ts+++ b/test/scripts/nightly-e2e.test.ts@@ -167,7 +167,7 @@ describe('nightly E2E scheduling', () => {const select = selection.run;expect(selection.env.FULL_CORPUS).toBe('${{ ' + fullProfile + ' }}');const group = workflow.concurrency.group;- expect(group).toBe("${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}${{ github.event_name == 'workflow_dispatch' && inputs.full_corpus && '-full-corpus' || '' }}${{ github.event_name == 'schedule' && '-nightly' || '' }}");+ expect(group).toBe("${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.sha) || github.ref }}${{ github.event_name == 'workflow_dispatch' && inputs.full_corpus && '-full-corpus' || '' }}${{ github.event_name == 'schedule' && '-nightly' || '' }}");for (const [event, enabled, expected] of [['pull_request', false, false], ['pull_request', true, false], ['push', true, false],['workflow_dispatch', false, false], ['workflow_dispatch', true, true], ['schedule', false, true],