diff --git a/.github/workflows/sync_upstream.yml b/.github/workflows/sync_upstream.yml index e24a4064..37af5b44 100644 --- a/.github/workflows/sync_upstream.yml +++ b/.github/workflows/sync_upstream.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PAT_TOKEN }} fetch-depth: 0 - name: Sync upstream @@ -20,5 +20,6 @@ jobs: git remote add upstream https://github.com/gchq/CyberChef.git git fetch upstream git merge upstream/master + git checkout HEAD -- .github/workflows/ + git commit --amend --no-edit git push origin master -