summaryrefslogtreecommitdiff
path: root/.github/workflows/cleanup-mirror-pr-branch.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cleanup-mirror-pr-branch.yml')
-rw-r--r--.github/workflows/cleanup-mirror-pr-branch.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/cleanup-mirror-pr-branch.yml b/.github/workflows/cleanup-mirror-pr-branch.yml
new file mode 100644
index 0000000..a62e44b
--- /dev/null
+++ b/.github/workflows/cleanup-mirror-pr-branch.yml
@@ -0,0 +1,16 @@
+name: Cleanup pr mirror branch
+
+on:
+ pull_request:
+ types: [closed]
+ branches:
+ - current
+
+permissions:
+ contents: write
+
+jobs:
+ call-delete-branch:
+ if: github.repository_owner != 'vyos'
+ uses: vyos/.github/.github/workflows/cleanup-mirror-pr-branch.yml@current
+ secrets: inherit