Document cpflow app bootstrap #16
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 is intentional: it has write permission to comment on PRs from | |
| # forks, where `pull_request` would be read-only. This is safe because no PR code is | |
| # checked out — the job only calls the upstream reusable workflow with a hardcoded | |
| # message. | |
| pull_request_target: | |
| types: [opened] | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| show-help: | |
| # This is intentionally unconditional: committing this wrapper opts the repo in | |
| # to PR-open help. Remove it, or uncomment and adapt this guard, if forks or | |
| # clones should stay quiet until Control Plane is configured: | |
| # if: vars.REVIEW_APP_PREFIX != '' || vars.CPLN_ORG_STAGING != '' | |
| uses: shakacode/control-plane-flow/.github/workflows/cpflow-review-app-help.yml@v5.0.1 |