Sync Upstream #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |