Skip to content

Sync Upstream

Sync Upstream #55

name: Sync Upstream
# This runs every day on 00:00 UTC
on:
schedule:
- cron: '0 0 * * *'
# Allows manual workflow run (must in default branch to work)
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout target repo
uses: actions/checkout@v4
with:
ref: main
token: ${{ secrets.SYNC_TOKEN }}
- name: Sync upstream changes
uses: aormsby/[email protected]
with:
target_sync_branch: main
upstream_sync_branch: main
upstream_pull_args: '-s recursive -Xtheirs --allow-unrelated-histories'
upstream_sync_repo: corazawaf/coraza-proxy-wasm