Skip to content

chore: add comment to deploying fork prs - #127

Merged
amanabiy merged 2 commits into
mainfrom
chore/add-comment-deploy-fork-prs
Jul 28, 2026
Merged

chore: add comment to deploying fork prs#127
amanabiy merged 2 commits into
mainfrom
chore/add-comment-deploy-fork-prs

Conversation

@amanabiy

@amanabiy amanabiy commented Jul 27, 2026

Copy link
Copy Markdown
Member

Issue #, if available:

Description of changes:
Adds inline comments documenting the fork preview deployment flow, including maintainer approval, the unprivileged build-lint-test.yml build, the workflow_run handoff, and the privileged artifact-only deployment.

No workflow behavior changes.

Follow up of #122

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@amanabiy
amanabiy requested a review from a team as a code owner July 27, 2026 01:16
@amanabiy
amanabiy requested review from jperals and removed request for a team July 27, 2026 01:16

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.

Pull request overview

Adds clarifying inline documentation to the preview deployment workflows, focusing on how fork PR previews are built without secrets and then deployed via a privileged workflow_run-based handoff.

Changes:

  • Document the fork preview deployment flow and its security constraints in deploy-fork-preview.yml.
  • Add an inline note in deploy.yml clarifying that the workflow is intended for internal PRs (same-repo) rather than forks.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/deploy.yml Adds a note describing that this deploy path is for internal PRs (same repo) only.
.github/workflows/deploy-fork-preview.yml Adds detailed comments describing the fork preview build/deploy handoff and why the privileged workflow must not execute fork code.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/deploy.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@amanabiy
amanabiy merged commit 8effc73 into main Jul 28, 2026
40 checks passed
@amanabiy
amanabiy deleted the chore/add-comment-deploy-fork-prs branch July 28, 2026 13:16
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