Skip to content

pr-preview: allow maintainer-approved previews for bot PRs - #2923

Merged
kaankacar merged 1 commit into
mainfrom
preview-approval-label
Oct 21, 2026
Merged

kaankacar merged 1 commit into
mainfrom
preview-approval-label

Conversation

@Jonathan-Eid

Copy link
Copy Markdown
Contributor

What

Adds a manual trigger for preview builds on PRs opened by the docs triage bot (stellar-triage-bot[bot]). An org member applies the preview-approved label, 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_target now also fires on labeled. The job only runs for labeled when the label is preview-approved, so adding any other label leaves the gate alone.
  • The gate gets approval-label: preview-approved. The approval is one-shot: a later push from the bot needs a fresh label.
  • Member-authored PRs work as before.

Before merging

Because the workflow runs on pull_request_target, it runs from main, so this PR can't test itself. After both PRs merge, check with a bot PR such as #2892: apply the label, confirm a PR 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

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]>
@github-actions github-actions Bot added the preview Preview builds for PRs by SDF employees. label Oct 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 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
kaankacar self-requested a review October 21, 2026 14:34
@kaankacar
kaankacar merged commit a55db9e into main Oct 21, 2026
10 checks passed
@kaankacar
kaankacar deleted the preview-approval-label branch October 21, 2026 14:34
@github-actions github-actions Bot removed the preview Preview builds for PRs by SDF employees. label Oct 21, 2026
@github-actions

Copy link
Copy Markdown
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants