Repository navigation
pr-preview: allow maintainer-approved previews for bot PRs - #2923
Merged
Merged
Conversation
Members can apply the preview-approved label to build a preview for a PR opened by the stellar-triage-bot App. Needs stellar/actions#119. Refs stellar/ops#4953. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Create the preview-approved repository label before merging.
No open issues 🎉
What changed in this PR
Adds maintainer-approved preview builds for bot-authored pull requests using the preview-approved label.
Changes:
- Adds label-triggered preview handling.
- Configures one-shot approval via
approval-label. - Preserves existing member-authored behavior.
| File | Description |
|---|---|
.github/workflows/pr-preview.yml |
Enables label-based approval for preview builds. |
Review effort: Lite
kaankacar
self-requested a review
October 21, 2026 14:34
kaankacar
approved these changes
Oct 21, 2026
Contributor
|
PR Preview: torn down |
ElliotFriend
added a commit
that referenced
this pull request
Oct 22, 2026
* Point Confidential Token resources to OpenZeppelin's stable release (#2915) * Fix broken Confidential Token repo link on Privacy page OpenZeppelin deleted the feat/confidential-verifier-ultrahonk branch. The code now lives in packages/confidential on main. - Link the package, the deployment guide and examples, and the design overview. - Mark the demo as a developer preview. It still targets the old branch. - Point to the stellar-contracts library for the Stellar implementation. Refs #2914 * Point Confidential Token resources to OpenZeppelin's stable release OpenZeppelin released the confidential token in stellar-contracts v0.8.0. - Pin the Privacy page links to v0.8.0. Add crates.io, release notes, and the OpenZeppelin docs page. - Replace the developer-preview caution. The v0.8.0 audit covers the token, but proofs are not yet zero-knowledge. - Add a Confidential Token entry to the OpenZeppelin page and add confidential/ to the repository tree. - Remove "Coming Soon". Governor shipped in v0.7.0, so it moves to Utilities. Refs #2914 * Pin the stellar-confidential crates.io link to 0.8.0 * Describe the Confidential Token as a wrapper around a SEP-41 token The v0.8.0 interface exposes confidential_balance and confidential_transfer, not the SEP-41 balance and transfer methods. (cherry picked from commit fc4b3c9) * pr-preview: allow maintainer-approved previews for bot PRs (#2923) Members can apply the preview-approved label to build a preview for a PR opened by the stellar-triage-bot App. Needs stellar/actions#119. Refs stellar/ops#4953. Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit a55db9e) * Stellar-rpc: Document the queryEvents beta RPC method (#2922) queryEvents is only served by the archive RPC node (stellar-rpc tag archive-node-beta). Keep it out of the main OpenRPC spec. Also drop the deprecated inSuccessfulContractCall field from the shared Event schema. (cherry picked from commit 8255fe9) * ci: add manual build of legacy-docs image for legacydocs.stellar.org (#2935) * ci: add manual build of legacy-docs image for legacydocs.stellar.org Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci: don't persist checkout credentials into the legacy docs build context Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 17f2d69) * chore: reword the legacy docs banner Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs: point the legacy README at main's last Docusaurus commit Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Kaan Kacar <[email protected]> Co-authored-by: Jonathan Eid <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: urvisavla <[email protected]>
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.
What
Adds a manual trigger for preview builds on PRs opened by the docs triage bot (
stellar-triage-bot[bot]). An org member applies thepreview-approvedlabel, and the workflow builds and publishes a preview of the PR's current head. Closes the stellar-docs side of stellar/ops#4953.pull_request_targetnow also fires onlabeled. The job only runs forlabeledwhen the label ispreview-approved, so adding any other label leaves the gate alone.approval-label: preview-approved. The approval is one-shot: a later push from the bot needs a fresh label.Before merging
gate@main, which doesn't acceptapproval-labeluntil then.preview-approvedlabel in this repo.Because the workflow runs on
pull_request_target, it runs frommain, so this PR can't test itself. After both PRs merge, check with a bot PR such as #2892: apply the label, confirm aPR Preview:comment appears with a working URL, then push to the PR and confirm the preview is withdrawn until it's re-approved.🤖 Generated with Claude Code