From a2a9cb9cc90a3f23bbaedca83178d963cbe06497 Mon Sep 17 00:00:00 2001 From: Fabrizio Antonangeli Date: Thu, 2 May 2024 09:31:08 +0200 Subject: [PATCH] SRVLOGIC-282: Move main-sync CI to kie-ci repository (#33) --- .github/workflows/main-sync.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main-sync.yml diff --git a/.github/workflows/main-sync.yml b/.github/workflows/main-sync.yml new file mode 100644 index 00000000000..096c437f562 --- /dev/null +++ b/.github/workflows/main-sync.yml @@ -0,0 +1,21 @@ +name: Sync main branch + +env: + GITHUB_TOKEN: ${{ secrets.APACHE_SYNC_MIDSTREAM_TOKEN }} + +on: + schedule: + - cron: '0 1 * * 0' + workflow_dispatch: + +jobs: + sync-main: + name: Sync main branch + runs-on: ubuntu-latest + + steps: + - name: Create a PR to sync main branch with main-apache + uses: kiegroup/kie-ci/.ci/actions/main-sync@main + with: + main_sync_workflow_exclude_paths: ${{ vars.MAIN_SYNC_WORKFLOW_EXCLUDE_PATHS }} + main_sync_workflow_pr_reviewers: ${{ vars.MAIN_SYNC_WORKFLOW_PR_REVIEWERS }}