Skip to content

Commit e17a1e2

Browse files
authored
Merge branch 'master' into cloudguard-integrations-terraform-aws-cloudguard-network-securi-2c8c8daf2ab1db38f2586ce63fc5fdcc9c3f8e11
2 parents 0b9781b + 6a19862 commit e17a1e2

File tree

2 files changed

+22
-40
lines changed

2 files changed

+22
-40
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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 }}

sonar-project.properties

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)