Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/org-quality-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
uses: agiletec-inc/github-actions/.github/workflows/quality-gate.yml@1941747f4149058807fc3e10d69412508027b9bd
with:
source-ref: 1941747f4149058807fc3e10d69412508027b9bd
# Every private repository uses the isolated organization-required pool.
# Repository-specific routing would create an exception in the org gate.
linux-runs-on: ${{ github.event.repository.private && 'org-required-ci' || 'ubuntu-latest' }}
# Bootstrap only: use the existing organization light pool while the
# org-required-ci scale set is deployed. This must be reverted after the
# runner canary is Synced/Healthy and accepting jobs.
linux-runs-on: ${{ github.event.repository.private && 'org-shared-ci-light' || 'ubuntu-latest' }}
swift-runs-on: macos-latest
2 changes: 1 addition & 1 deletion tests/test_workflow_wiring.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_org_caller_grants_read_only_checks_and_actions_access(self) -> None:

def test_private_repositories_use_the_organization_required_runner(self) -> None:
source = ORG_CALLER.read_text()
self.assertIn("'org-required-ci'", source)
self.assertIn("'org-shared-ci-light'", source)
self.assertNotIn("github.repository", source)
self.assertNotIn("agiletec-ci-runner", source)

Expand Down