diff --git a/README.md b/README.md index 4b8712b..04e6b0d 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ The whole point of the extraction: | | Lives in | Versioned | Example | |---|---|---|---| -| **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 | +| **Mechanism** | this repo (`Netis/olympus`) | yes — tag `v0.5.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 @@ -97,10 +97,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/.yml@v0.4.0` + is ~15 lines that `uses: Netis/olympus/.github/workflows/.yml@v0.5.0` and passes your runner labels. -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 +4. **Pin the version**: keep the `@v0.5.0` on the `uses:` and the + `olympus_ref: v0.5.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 diff --git a/docs/setup.md b/docs/setup.md index 508989a..6d4937f 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -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.4.0` and `olympus_ref: v0.4.0` on the **same** release. +`uses: ...@v0.5.0` and `olympus_ref: v0.5.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. diff --git a/examples/consumer/.github/workflows/guard.yml b/examples/consumer/.github/workflows/guard.yml index 1902407..f18a613 100644 --- a/examples/consumer/.github/workflows/guard.yml +++ b/examples/consumer/.github/workflows/guard.yml @@ -8,9 +8,9 @@ on: jobs: guard: - uses: Netis/olympus/.github/workflows/guard.yml@v0.4.0 + uses: Netis/olympus/.github/workflows/guard.yml@v0.5.0 with: - olympus_ref: v0.4.0 + olympus_ref: v0.5.0 # Flip on once AGENT_GH_TOKEN is set, to also verify referenced # secrets are provisioned + sane: run_secret_checks: false diff --git a/examples/consumer/.github/workflows/implement.yml b/examples/consumer/.github/workflows/implement.yml index ff9ec07..ab6d4d2 100644 --- a/examples/consumer/.github/workflows/implement.yml +++ b/examples/consumer/.github/workflows/implement.yml @@ -13,8 +13,8 @@ permissions: jobs: implement: if: ${{ github.event.label.name == 'agent:try' }} - uses: Netis/olympus/.github/workflows/implement.yml@v0.4.0 + uses: Netis/olympus/.github/workflows/implement.yml@v0.5.0 with: - olympus_ref: v0.4.0 + olympus_ref: v0.5.0 runner_labels: '["self-hosted","my-runner"]' secrets: inherit # + AUTO_MERGE_TEAM (optional) diff --git a/examples/consumer/.github/workflows/observe.yml b/examples/consumer/.github/workflows/observe.yml index f46c17d..6f2d40f 100644 --- a/examples/consumer/.github/workflows/observe.yml +++ b/examples/consumer/.github/workflows/observe.yml @@ -18,9 +18,9 @@ permissions: jobs: observe: - uses: Netis/olympus/.github/workflows/observe.yml@v0.4.0 + uses: Netis/olympus/.github/workflows/observe.yml@v0.5.0 with: - olympus_ref: v0.4.0 + olympus_ref: v0.5.0 runner_labels: '["self-hosted","my-runner"]' dry_run: ${{ github.event.inputs.dry_run == 'true' }} secrets: inherit diff --git a/examples/consumer/.github/workflows/pr-review.yml b/examples/consumer/.github/workflows/pr-review.yml index 8257a48..4c50175 100644 --- a/examples/consumer/.github/workflows/pr-review.yml +++ b/examples/consumer/.github/workflows/pr-review.yml @@ -22,9 +22,9 @@ permissions: jobs: review: - uses: Netis/olympus/.github/workflows/review.yml@v0.4.0 + uses: Netis/olympus/.github/workflows/review.yml@v0.5.0 with: - olympus_ref: v0.4.0 + olympus_ref: v0.5.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. diff --git a/examples/consumer/.github/workflows/pr-revise.yml b/examples/consumer/.github/workflows/pr-revise.yml index 5cacd62..ad195dd 100644 --- a/examples/consumer/.github/workflows/pr-revise.yml +++ b/examples/consumer/.github/workflows/pr-revise.yml @@ -17,9 +17,9 @@ permissions: jobs: revise: - uses: Netis/olympus/.github/workflows/revise.yml@v0.4.0 + uses: Netis/olympus/.github/workflows/revise.yml@v0.5.0 with: pr_number: ${{ inputs.pr_number }} - olympus_ref: v0.4.0 + olympus_ref: v0.5.0 runner_labels: '["self-hosted","my-runner"]' secrets: inherit diff --git a/examples/consumer/.github/workflows/pr-soak.yml b/examples/consumer/.github/workflows/pr-soak.yml index 503091b..41f4dcf 100644 --- a/examples/consumer/.github/workflows/pr-soak.yml +++ b/examples/consumer/.github/workflows/pr-soak.yml @@ -24,10 +24,10 @@ permissions: jobs: soak: - uses: Netis/olympus/.github/workflows/soak.yml@v0.4.0 + uses: Netis/olympus/.github/workflows/soak.yml@v0.5.0 with: pr_number: ${{ inputs.pr_number }} - olympus_ref: v0.4.0 + olympus_ref: v0.5.0 runner_labels: '["self-hosted","my-runner"]' # Must exceed .testing.soak_minutes. timeout_minutes: 60 diff --git a/examples/consumer/.github/workflows/triage.yml b/examples/consumer/.github/workflows/triage.yml index 802afec..f94a33d 100644 --- a/examples/consumer/.github/workflows/triage.yml +++ b/examples/consumer/.github/workflows/triage.yml @@ -16,8 +16,8 @@ permissions: jobs: triage: - uses: Netis/olympus/.github/workflows/triage.yml@v0.4.0 + uses: Netis/olympus/.github/workflows/triage.yml@v0.5.0 with: - olympus_ref: v0.4.0 + olympus_ref: v0.5.0 runner_labels: '["self-hosted","my-runner"]' secrets: inherit # LITELLM_BASE_URL/API_KEY/NO_PROXY + AGENT_GH_TOKEN