You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "lampajr (via GitHub)" <gi...@apache.org> on 2023/09/11 14:28:15 UTC
[GitHub] [incubator-kie-optaplanner] lampajr commented on a diff in pull request #2970: Adding mirror sync automated workflow
lampajr commented on code in PR #2970:
URL: https://github.com/apache/incubator-kie-optaplanner/pull/2970#discussion_r1321643879
##########
.github/workflows/sync-mirror.yaml:
##########
@@ -0,0 +1,25 @@
+name: Automatic Mirror Synchronization
+
+on: [push]
+
+jobs:
+ sync-mirror:
+ if: github.repository_owner == 'apache'
+ name: Sync the Kiegroup mirror
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Run the mirror sync process using git-sync-mirror
+ uses: addnab/docker-run-action@v3
+ with:
+ image: enteee/git-sync-mirror:latest
+ options: >
+ --rm
+ --env DEBUG=true
Review Comment:
Added mainly for debugging purposes, we can disable thsi if we want
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org