aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoakim Lindqvist <[email protected]>2024-09-05 14:06:36 +0200
committerGitHub Enterprise <[email protected]>2024-09-05 14:06:36 +0200
commitc81adcd2142cdb18960764c648a6f5f2f574a5ac (patch)
tree1f4f0f4a4ddd8d198c975f4ebcfd5db1c3940212 /.github/workflows
parent5.5.6-pre0 (diff)
downloadzen-c81adcd2142cdb18960764c648a6f5f2f574a5ac.tar.xz
zen-c81adcd2142cdb18960764c648a6f5f2f574a5ac.zip
Added github action to mirror releases to github.com (#144)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/mirror_releases.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/mirror_releases.yml b/.github/workflows/mirror_releases.yml
new file mode 100644
index 000000000..a2e8dc707
--- /dev/null
+++ b/.github/workflows/mirror_releases.yml
@@ -0,0 +1,29 @@
+name: Mirror Releases to Github.com
+on:
+ workflow_dispatch:
+ # run every 12 hrs
+ schedule:
+ - cron: "* */12 * * *"
+
+concurrency:
+ group: git-mirror-releases
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Run action
+ uses: andrewthetechie/[email protected]
+ with:
+ token: ${{ secrets.ZEN_RELEASE_GITHUB_EE_TOKEN }}
+ src_repo: ue-foundation/zen
+ src_repo_github_api_url: https://api.github.ol.epicgames.net
+
+ dest_token: ${{ secrets.ZEN_RELEASE_GITHUB_TOKEN }}
+ dest_repo: EpicGames/zen
+ dest_repo_github_api_url: https://api.github.com
+
+ copy_assets: true
+ limit: 10
+
+ dry_run: true \ No newline at end of file