File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: "CI / Application JS Cloudflare Feature Closed"
33on :
44 workflow_call :
55 inputs :
6+ environment :
7+ description : ' Deployment Environment'
8+ type : environment
9+ required : true
610 appName :
711 type : string
812 required : true
3438 if : startsWith(inputs.featureBranch, 'feature')
3539 permissions :
3640 contents : read
41+ environment : ${{ inputs.environment }}
3742 steps :
3843 - uses : actions/checkout@v4
3944 with :
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: "CI / Application JS Cloudflare Feature"
33on :
44 workflow_call :
55 inputs :
6+ environment :
7+ description : ' Deployment Environment'
8+ type : environment
9+ required : true
610 ref :
711 type : string
812 default : master
2630 runs-on : ubuntu-latest
2731 permissions :
2832 contents : read
33+ environment : ${{ inputs.environment }}
2934 steps :
3035 - uses : actions/checkout@v4
3136 with :
4651 permissions :
4752 contents : read
4853 actions : write
54+ environment : ${{ inputs.environment }}
4955 steps :
5056 - name : Checkout Actions
5157 uses : actions/checkout@v4
8591 concurrency :
8692 group : feature-deployment
8793 cancel-in-progress : false
94+ environment : ${{ inputs.environment }}
8895 steps :
8996 - name : Checkout Actions
9097 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: "CI / Application JS Cloudflare Master"
33on :
44 workflow_call :
55 inputs :
6+ environment :
7+ description : ' Deployment Environment'
8+ type : environment
9+ required : true
610 ref :
711 type : string
812 default : master
2428 permissions :
2529 contents : read
2630 actions : write
31+ environment : ${{ inputs.environment }}
2732 steps :
2833 - name : Checkout Actions
2934 uses : actions/checkout@v4
6570 cancel-in-progress : false
6671 permissions :
6772 contents : read
73+ environment : ${{ inputs.environment }}
6874 steps :
6975 - name : Checkout Actions
7076 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: "CI / Application JS Cloudflare Staging"
33on :
44 workflow_call :
55 inputs :
6+ environment :
7+ description : ' Deployment Environment'
8+ type : environment
9+ required : true
610 ref :
711 type : string
812 default : master
3337 runs-on : ubuntu-latest
3438 permissions :
3539 contents : read
40+ environment : ${{ inputs.environment }}
3641 steps :
3742 - uses : actions/checkout@v4
3843 with :
5358 permissions :
5459 contents : read
5560 pull-requests : write
61+ environment : ${{ inputs.environment }}
5662 steps :
5763 - uses : actions/checkout@v4
5864 - name : Create Pull Request from Staging to Master
7783 permissions :
7884 contents : read
7985 actions : write
86+ environment : ${{ inputs.environment }}
8087 steps :
8188 - name : Checkout Actions
8289 uses : actions/checkout@v4
@@ -118,6 +125,7 @@ jobs:
118125 cancel-in-progress : false
119126 permissions :
120127 contents : read
128+ environment : ${{ inputs.environment }}
121129 steps :
122130 - name : Checkout Actions
123131 uses : actions/checkout@v4
@@ -160,6 +168,7 @@ jobs:
160168 permissions :
161169 contents : write
162170 pull-requests : write
171+ environment : ${{ inputs.environment }}
163172 steps :
164173 - uses : actions/checkout@v4
165174 with :
You can’t perform that action at this time.
0 commit comments