Skip to content

Commit 703fae2

Browse files
authored
Switch Internal Tests to reuse CI job (#3625)
# Description of Changes Switch the `Internal Tests` job to re-use the existing CI workflow instead of a separate one. # API and ABI breaking changes None. CI only. # Expected complexity level and risk 1 # Testing - [x] Internal Tests passes on this PR --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
1 parent 3ea5fde commit 703fae2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/internal-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
script: |
2727
const targetOwner = 'clockworklabs';
2828
const targetRepo = 'SpacetimeDBPrivate';
29-
const workflowId = 'internal-tests.yml';
29+
const workflowId = 'ci.yml';
3030
const targetRef = 'master';
3131
// Use the ref for pull requests because the head sha is brittle (github does some extra dance where it merges in master).
3232
const publicRef = (context.eventName === 'pull_request') ? context.payload.pull_request.head.ref : context.sha;
@@ -63,7 +63,7 @@ jobs:
6363
per_page: 50,
6464
});
6565
66-
const expectedName = `Internal Tests [${publicRef}]`;
66+
const expectedName = `CI [public_ref=${publicRef}]`;
6767
const candidates = runsResp.data.workflow_runs
6868
.filter(r => r.name === expectedName && new Date(r.created_at) >= new Date(preDispatch))
6969
.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));

0 commit comments

Comments
 (0)