From dcbf7560c71536235e6a386e04e02e3e262a17c9 Mon Sep 17 00:00:00 2001 From: Fabrizio Antonangeli Date: Thu, 2 May 2024 16:58:19 +0200 Subject: [PATCH] SRVLOGIC-281: Move upstream-sync CI to kie-ci repository (#5) --- .github/workflows/upstream-sync.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/upstream-sync.yml diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml new file mode 100644 index 00000000000..8941b59b3e4 --- /dev/null +++ b/.github/workflows/upstream-sync.yml @@ -0,0 +1,20 @@ +name: Sync main-apache branch + +env: + GITHUB_TOKEN: ${{ secrets.APACHE_SYNC_MIDSTREAM_TOKEN }} + +on: + schedule: + - cron: "0 0 * * *" # every day at midnight + workflow_dispatch: + +jobs: + sync-main-apache: + name: Sync main-apache branch + runs-on: ubuntu-latest + + steps: + - name: Sync main-apache branch with upstream/main + uses: kiegroup/kie-ci/.ci/actions/upstream-sync@main + with: + upstream_remote: https://github.com/apache/incubator-kie-tools.git