[codex] Update cpflow review app guidance #32
Workflow file for this run
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
| 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 | |
| }); |