File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 issue_comment :
1010 types : [created, edited]
1111
12- # Triggers the workflow on pull request events
13- pull_request :
14- branches :
15- - master
12+ # Uncomment these lines to trigger the workflow on pull request events
13+ # pull_request:
14+ # branches:
15+ # - master
16+
17+ # deploy on comment "/deploy-review-app"
18+ issue_comment :
19+ types : [created, edited]
1620
1721# Convert the GitHub secret variables to environment variables for use by the Control Plane CLI
1822env :
1923 CPLN_ORG : ${{secrets.CPLN_ORG_STAGING}}
2024 CPLN_TOKEN : ${{secrets.CPLN_TOKEN_STAGING}}
21- PR_NUMBER : ${{github.event.number}}
25+ # Uncomment this line to use the PR number from the pull requests trigger event (that trigger is commented)
26+ # PR_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
27+ PR_NUMBER : ${{ github.event.issue.number }}
2228
2329jobs :
2430 deploy-to-control-plane-review :
You can’t perform that action at this time.
0 commit comments