Repository navigation
docs(automations): fresh clone per run, one comment per PR, cancel the previous run, PR gatekeeper recipe - #174
Merged
Merged
Conversation
…e previous run, PR gatekeeper recipe Documents the automation options added by helmcode/nan-cloud-api#343 in /docs/automations and /docs/webhooks (EN and ES): checkout workspace or fresh, checkout_untrusted_heads, sticky_pr_comment and the supersede concurrency policy, plus a PR gatekeeper recipe with sample instructions. The API reference gains the Automation fields checkout, sticky_pr_comment and checkout_untrusted_heads, concurrency_policy supersede, the Run fields checkout (RunCheckout), superseded_by and sticky_pr_comment, and the started event's checkout. cloud-api golden files re-synced, including the two new gatekeeper goldens, all validated against the schemas. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bility, portal notes, OpenAPI precision Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the automation options from helmcode/nan-cloud-api#343 (merged), NaN community only. Ships together with the cloud-ui editor PR that adds the same settings (portal labels taken from it: Repository card, Checkout, Workspace folder, Fresh clone per run, Run pull requests from forks and outside contributors, Keep one comment per pull request, Cancel the previous run, Superseded by run, One comment, updated each run).
Pages
/docs/automationsand/es/docs/automations:superseded_byis set, and a stale proposal is never posted.pull request head moved.GITHUB_TOKEN, needed only for private repos and never written into the clone.TMPDIRlive inside the run folder, deleted whatever happens. Limits: 10 min clone, 4 GiB, 500,000 files.git_push./docs/webhooksand/es/docs/webhooks: a note under Only some GitHub users, and the Ignored by a filter delivery row now covers fork/outsider PRs.src/data/openapi.json):Automation.checkout,sticky_pr_comment,checkout_untrusted_heads, andconcurrency_policysupersede.Run.checkout(newRunCheckoutschema),superseded_by,sticky_pr_comment.checkoutof thestartedevent.Tests
internal/handlers/testdata/phase2, including the newautomation_get_gatekeeper.jsonandrun_get_gatekeeper.json. Every golden validates against the published schemas.trigger_rotate.jsonis not copied because rotate is a portal-only write that this reference does not document.openapiAutomations.test.ts/openapiRuns.test.ts:sha.automationsDocs.test.ts, new block per locale:rm -rfor token handling.npm test: 77 files, 1904 tests green.npm run build: green.🤖 Generated with Claude Code