File tree Expand file tree Collapse file tree 3 files changed +22
-41
lines changed
modules/management_new_vnet Expand file tree Collapse file tree 3 files changed +22
-41
lines changed Original file line number Diff line number Diff line change
1
+ name : Delete Merged Branch
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - closed
7
+
8
+ jobs :
9
+ delete_branch :
10
+ if : github.event.pull_request.merged == true
11
+ runs-on : ubuntu-latest
12
+ permissions :
13
+ contents : write
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v4
17
+ with :
18
+ ref : ${{ github.event.pull_request.base.ref }} # Checkout the target branch
19
+
20
+ - name : Delete source branch
21
+ run : |
22
+ git push origin --delete ${{ github.event.pull_request.head.ref }}
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ module "example_module" {
27
27
28
28
source = "CheckPointSW/cloudguard-network-security/azure//modules/management_new_vnet"
29
29
version = "1.0.4"
30
-
31
30
source_image_vhd_uri = "noCustomUri"
32
31
resource_group_name = "checkpoint-mgmt-terraform"
33
32
mgmt_name = "checkpoint-mgmt-terraform"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments