Add workflow to sync with upstream repository

This commit is contained in:
Jacob Marks 2026-05-12 13:50:10 -04:00 committed by GitHub
parent 023d11c371
commit bd05814e30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

21
.github/workflows/sync_upstream.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Sync Upstream
on:
schedule:
- cron: '0 6 * * 1' # weekly, Monday 6am UTC
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Sync upstream
run: |
git remote add upstream https://github.com/gchq/CyberChef.git
git fetch upstream
git merge upstream/master
git push origin master