Skip to content

Commit

Permalink
Add GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fantonangeli committed Apr 19, 2024
1 parent c799f4b commit 87b2ff1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main-sync.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 87b2ff1

Please sign in to comment.