Skip to content

Commit e3afd61

Browse files
committed
fixes to my fixes
1 parent 963807a commit e3afd61

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.github/workflows/deploy-to-control-plane-review-app.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ name: Deploy PR Review App to Control Plane
22

33
run-name: Deploy PR Review App - PR #${{ github.event.pull_request.number || github.event.issue.number || github.event.inputs.pr_number }}
44

5-
5+
# Controls when the workflow will run
66
on:
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
push:
10+
branches:
11+
- '**' # Any branch
12+
- '!main' # Except main
13+
- '!master' # Except master
714
issue_comment:
815
types: [created]
916
workflow_dispatch:

.github/workflows/deploy-to-control-plane-staging.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,10 @@ run-name: Deploy Control Plane Staging App
55

66
# Controls when the workflow will run
77
on:
8-
pull_request:
9-
types: [opened, synchronize, reopened]
108
push:
119
branches:
12-
- '**' # Any branch
13-
- '!main' # Except main
14-
- '!master' # Except master
15-
issue_comment:
16-
types: [created]
10+
- '*'
1711
workflow_dispatch:
18-
inputs:
19-
pr_number:
20-
description: 'Pull Request number to deploy'
21-
required: true
22-
type: number
2312

2413
# Convert the GitHub secret variables to environment variables for use by the Control Plane CLI
2514
env:

0 commit comments

Comments
 (0)