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