File tree 1 file changed +11
-5
lines changed 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 9
9
issue_comment :
10
10
types : [created, edited]
11
11
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]
16
20
17
21
# Convert the GitHub secret variables to environment variables for use by the Control Plane CLI
18
22
env :
19
23
CPLN_ORG : ${{secrets.CPLN_ORG_STAGING}}
20
24
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 }}
22
28
23
29
jobs :
24
30
deploy-to-control-plane-review :
You can’t perform that action at this time.
0 commit comments