diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddceeb7f8a..cac25af787 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,7 +132,7 @@ jobs: # tree skips it too — every gate it would run here already passed in the run that tested this # exact tree, and `!= 'prose'` would otherwise have bought a second full lint. if: (needs.scope.outputs.selection == 'full' || needs.scope.outputs.selection == 'template') || needs.scope.outputs.selection == 'instructions' || needs.scope.outputs.selection == 'ci' - runs-on: ${{ (github.event.pull_request.head.repo.fork || !vars.TN_RUNNER) && 'ubuntu-24.04' || vars.TN_RUNNER }} + runs-on: ubuntu-24.04 timeout-minutes: 10 env: TN_CI_SHA: ${{ needs.scope.outputs.candidate_sha }} @@ -1026,7 +1026,7 @@ jobs: performance-contracts: needs: scope if: ${{ needs.scope.outputs.selection == 'full' && !cancelled() }} - runs-on: ${{ (github.event.pull_request.head.repo.fork || !vars.TN_RUNNER) && 'ubuntu-24.04' || vars.TN_RUNNER }} + runs-on: ubuntu-24.04 timeout-minutes: 2 env: TN_CI_SHA: ${{ needs.scope.outputs.candidate_sha }} diff --git a/scripts/__tests__/ci-structure.spec.ts b/scripts/__tests__/ci-structure.spec.ts index 418b8f8d67..6b1fb1ed29 100644 --- a/scripts/__tests__/ci-structure.spec.ts +++ b/scripts/__tests__/ci-structure.spec.ts @@ -1072,7 +1072,13 @@ describe("CI pipeline structure", () => { // golden-path-template runs hosted: its dev server twice failed to answer on a local slot (run 37089715252). [ ".github/workflows/ci.yml", - new Set(["golden-path-template", "supply-chain", "template-nonvisual"]), + new Set([ + "golden-path-template", + "lint", + "performance-contracts", + "supply-chain", + "template-nonvisual", + ]), ], [ ".github/workflows/native-platforms.yml",