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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The whole point of the extraction:

| | Lives in | Versioned | Example |
|---|---|---|---|
| **Mechanism** | this repo (`Netis/olympus`) | yes — tag `v0.2.0` | the triage gate logic, the warm-reply composer, the auto-merge gate, the observer's confirm-debounce, the hygiene linters |
| **Mechanism** | this repo (`Netis/olympus`) | yes — tag `v0.4.0` | the triage gate logic, the warm-reply composer, the auto-merge gate, the observer's confirm-debounce, the hygiene linters |
| **Policy** | the consumer's `.olympus.json` | with the consumer | gate thresholds, label names, build command, reply language, the review bot's login, the service health URL |

Upgrade the mechanism once (bump the pinned tag) and every consuming repo
Expand Down Expand Up @@ -91,10 +91,10 @@ config-driven.
field is optional ([schema](schema/olympus.schema.json)).
3. **Add the thin wrappers** from [`examples/consumer/.github/workflows/`](examples/consumer/.github/workflows/)
(`triage`, `implement`, `pr-review`, `pr-revise`, `guard`, `observe`). Each
is ~15 lines that `uses: Netis/olympus/.github/workflows/<x>.yml@v0.2.0`
is ~15 lines that `uses: Netis/olympus/.github/workflows/<x>.yml@v0.4.0`
and passes your runner labels.
4. **Pin the version**: keep the `@v0.2.0` on the `uses:` and the
`olympus_ref: v0.2.0` input in lockstep, so the workflow YAML and the
4. **Pin the version**: keep the `@v0.4.0` on the `uses:` and the
`olympus_ref: v0.4.0` input in lockstep, so the workflow YAML and the
scripts it clones are the same release.

See [docs/setup.md](docs/setup.md) for the full walkthrough and
Expand Down
2 changes: 1 addition & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ into your repo's `.github/workflows/`:
| `observe.yml` | schedule (prod repos only) | self-hosted runner |

Edit each wrapper's `runner_labels` to match your pool, and keep both the
`uses: ...@v0.2.0` and `olympus_ref: v0.2.0` on the **same** release.
`uses: ...@v0.4.0` and `olympus_ref: v0.4.0` on the **same** release.

> `pr-review.yml` keys off a workflow named **`ci`** completing. If your CI
> workflow has a different name, change `workflows: [ci]` in the wrapper.
Expand Down
4 changes: 2 additions & 2 deletions examples/consumer/.github/workflows/guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:

jobs:
guard:
uses: Netis/olympus/.github/workflows/guard.yml@v0.2.0
uses: Netis/olympus/.github/workflows/guard.yml@v0.4.0
with:
olympus_ref: v0.2.0
olympus_ref: v0.4.0
# Flip on once AGENT_GH_TOKEN is set, to also verify referenced
# secrets are provisioned + sane:
run_secret_checks: false
Expand Down
4 changes: 2 additions & 2 deletions examples/consumer/.github/workflows/implement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ permissions:
jobs:
implement:
if: ${{ github.event.label.name == 'agent:try' }}
uses: Netis/olympus/.github/workflows/implement.yml@v0.2.0
uses: Netis/olympus/.github/workflows/implement.yml@v0.4.0
with:
olympus_ref: v0.2.0
olympus_ref: v0.4.0
runner_labels: '["self-hosted","my-runner"]'
secrets: inherit # + AUTO_MERGE_TEAM (optional)
4 changes: 2 additions & 2 deletions examples/consumer/.github/workflows/observe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ permissions:

jobs:
observe:
uses: Netis/olympus/.github/workflows/observe.yml@v0.2.0
uses: Netis/olympus/.github/workflows/observe.yml@v0.4.0
with:
olympus_ref: v0.2.0
olympus_ref: v0.4.0
runner_labels: '["self-hosted","my-runner"]'
dry_run: ${{ github.event.inputs.dry_run == 'true' }}
secrets: inherit
4 changes: 2 additions & 2 deletions examples/consumer/.github/workflows/pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ permissions:

jobs:
review:
uses: Netis/olympus/.github/workflows/review.yml@v0.2.0
uses: Netis/olympus/.github/workflows/review.yml@v0.4.0
with:
olympus_ref: v0.2.0
olympus_ref: v0.4.0
runner_labels: '["self-hosted","my-runner"]'
# Empty string on the workflow_run path (resolved from the run event);
# the PR number you typed on a manual workflow_dispatch re-review.
Expand Down
4 changes: 2 additions & 2 deletions examples/consumer/.github/workflows/pr-revise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ permissions:

jobs:
revise:
uses: Netis/olympus/.github/workflows/revise.yml@v0.2.0
uses: Netis/olympus/.github/workflows/revise.yml@v0.4.0
with:
pr_number: ${{ inputs.pr_number }}
olympus_ref: v0.2.0
olympus_ref: v0.4.0
runner_labels: '["self-hosted","my-runner"]'
secrets: inherit
4 changes: 2 additions & 2 deletions examples/consumer/.github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ permissions:

jobs:
triage:
uses: Netis/olympus/.github/workflows/triage.yml@v0.2.0
uses: Netis/olympus/.github/workflows/triage.yml@v0.4.0
with:
olympus_ref: v0.2.0
olympus_ref: v0.4.0
runner_labels: '["self-hosted","my-runner"]'
secrets: inherit # LITELLM_BASE_URL/API_KEY/NO_PROXY + AGENT_GH_TOKEN
Loading