Skip to content

[codex] Update cpflow review app guidance #32

[codex] Update cpflow review app guidance

[codex] Update cpflow review app guidance #32

name: Show Review App Commands on PR Open
on:
pull_request_target:
types: [opened]
permissions:
issues: write
pull-requests: write
jobs:
show-help:
runs-on: ubuntu-latest
steps:
- name: Post quick reference
uses: actions/github-script@v7
with:
script: |
const body = [
"# Control Plane review app commands",
"",
"`+review-app-deploy`",
"Create the review app or redeploy the PR branch to it.",
"",
"`+review-app-delete`",
"Delete the review app and its temporary resources.",
"",
"`+review-app-help`",
"Show the required GitHub variables, secrets, and workflow behavior."
].join("\n");
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body
});