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
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
ruff-mypy:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
Expand All @@ -24,7 +24,7 @@ jobs:
run: mypy agentsuite

docs-drift:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v6
- name: Required doc artifacts exist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provider-drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
check-drift:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build-and-publish:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
permissions:
contents: write # for GitHub Release creation
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
unit-integration-golden:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep untrusted PR jobs off the self-hosted runner

This workflow still runs on pull_request, so forked PRs can execute arbitrary submitted code (pip install -e .[dev], pytest, scripts) on the persistent self-hosted host instead of an ephemeral GitHub VM. GitHub's self-hosted runner docs warn that public-repo forks can run dangerous code on the runner machine (https://docs.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners), and this repo is advertised for public GitHub installation in the README, so PR validation should stay on GitHub-hosted runners or be gated to trusted events before routing to self-hosted.

Useful? React with 👍 / 👎.

strategy:
matrix:
python-version: ["3.11", "3.12"]
Expand All @@ -25,7 +25,7 @@ jobs:
run: pytest tests/unit tests/integration tests/golden tests/stress -v --cov=agentsuite --cov-report=term-missing

cleanroom:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
Expand All @@ -35,7 +35,7 @@ jobs:
run: bash scripts/run-cleanroom.sh

wheel-smoke:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
Expand Down