summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-24 09:16:42 +0100
committerGitHub <noreply@github.com>2024-12-24 09:16:42 +0100
commitd6dfdfcc2fc9926c70fb3150fde8cfa87cb0b6bb (patch)
tree11871e401e3fa4bc29edb014a27ba8ebb1b096f3 /.github/workflows
parent933799060210928a08dd24bbf7aff9666ba40851 (diff)
parentfad0abb807808f54a8d548cf964071a7f00509a0 (diff)
downloadvyos-build-d6dfdfcc2fc9926c70fb3150fde8cfa87cb0b6bb.tar.gz
vyos-build-d6dfdfcc2fc9926c70fb3150fde8cfa87cb0b6bb.zip
Merge pull request #870 from kumvijaya/current
T6954: added PR mirror workflows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cleanup-mirror-pr-branch.yml15
-rw-r--r--.github/workflows/trigger-pr-mirror-repo-sync.yml12
2 files changed, 27 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 00000000..bbe6aa2f
--- /dev/null
+++ b/.github/workflows/cleanup-mirror-pr-branch.yml
@@ -0,0 +1,15 @@
+name: Cleanup pr mirror branch
+
+on:
+ pull_request:
+ types: [closed]
+ branches:
+ - current
+
+permissions:
+ contents: write
+
+jobs:
+ call-delete-branch:
+ uses: vyos/.github/.github/workflows/cleanup-mirror-pr-branch.yml@current
+ secrets: inherit
diff --git a/.github/workflows/trigger-pr-mirror-repo-sync.yml b/.github/workflows/trigger-pr-mirror-repo-sync.yml
new file mode 100644
index 00000000..d5e8ce3b
--- /dev/null
+++ b/.github/workflows/trigger-pr-mirror-repo-sync.yml
@@ -0,0 +1,12 @@
+name: Trigger Mirror PR and Repo Sync
+on:
+ pull_request_target:
+ types:
+ - closed
+ branches:
+ - current
+
+jobs:
+ call-trigger-mirror-pr-repo-sync:
+ uses: vyos/.github/.github/workflows/trigger-pr-mirror-repo-sync.yml@current
+ secrets: inherit