aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/mirror.yml
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-03-21 15:17:30 +0100
committerGitHub Enterprise <[email protected]>2024-03-21 15:17:30 +0100
commit16affe3eaddfcb439bf3ebb6bbeea3b2d58eedcd (patch)
tree89a2834e6c635136c86c4b2e1a81929b4cd45b00 /.github/workflows/mirror.yml
parentharden attach sponsor process (#14) (diff)
downloadzen-16affe3eaddfcb439bf3ebb6bbeea3b2d58eedcd.tar.xz
zen-16affe3eaddfcb439bf3ebb6bbeea3b2d58eedcd.zip
added action to mirror repo to github.com (#17)
Diffstat (limited to '.github/workflows/mirror.yml')
-rw-r--r--.github/workflows/mirror.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
new file mode 100644
index 000000000..b34fb45f1
--- /dev/null
+++ b/.github/workflows/mirror.yml
@@ -0,0 +1,18 @@
+name: Mirror all branches and tags to github.com repo
+
+on: [ push, delete, create ]
+
+# Ensures that only one mirror task will run at a time.
+concurrency:
+ group: git-mirror
+
+jobs:
+ git-mirror:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: ue-foundation/git-mirror-action@v1
+ env:
+ SSH_PRIVATE_KEY: ${{ secrets.PUBLIC_GITHUB_SSHKEY }}
+ with:
+ source-repo: "[email protected]:ue-foundation/zen.git"
+ destination-repo: "[email protected]:EpicGames/zen.git"