From bd05814e30bb1e0a9ef7205eb07f6dbf1e556773 Mon Sep 17 00:00:00 2001 From: Jacob Marks <100745682+J8k3@users.noreply.github.com> Date: Tue, 12 May 2026 13:50:10 -0400 Subject: [PATCH] Add workflow to sync with upstream repository --- .github/workflows/sync_upstream.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/sync_upstream.yml diff --git a/.github/workflows/sync_upstream.yml b/.github/workflows/sync_upstream.yml new file mode 100644 index 00000000..50fc81b5 --- /dev/null +++ b/.github/workflows/sync_upstream.yml @@ -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