Update token for GitHub actions in workflow
This commit is contained in:
parent
4c6054a16e
commit
9a40d196b6
5
.github/workflows/sync_upstream.yml
vendored
5
.github/workflows/sync_upstream.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.PAT_TOKEN }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Sync upstream
|
- name: Sync upstream
|
||||||
@ -20,5 +20,6 @@ jobs:
|
|||||||
git remote add upstream https://github.com/gchq/CyberChef.git
|
git remote add upstream https://github.com/gchq/CyberChef.git
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
git merge upstream/master
|
git merge upstream/master
|
||||||
|
git checkout HEAD -- .github/workflows/
|
||||||
|
git commit --amend --no-edit
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user