From b6f6928dd4906149a2b371a0a1855feb3ee02c6f Mon Sep 17 00:00:00 2001 From: Max Base Date: Mon, 13 Jan 2025 22:26:44 +0330 Subject: [PATCH] rename to use GH_TOKEN and not USER TOKEN --- .github/workflows/run-sync-script.yaml | 2 +- .github/workflows/web-assembly.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-sync-script.yaml b/.github/workflows/run-sync-script.yaml index 01a7bec1..f702da03 100644 --- a/.github/workflows/run-sync-script.yaml +++ b/.github/workflows/run-sync-script.yaml @@ -57,6 +57,6 @@ jobs: git add -A git commit -m "Auto-sync: Update after running sync.py script" - git push https://x-access-token:${{ secrets.USER_TOKEN }}@github.com/${{ github.repository }}.git auto-sync-update + git push https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git auto-sync-update gh pr create --title "Auto-sync: Update after running sync.py script" --body "This PR was automatically generated by the workflow." diff --git a/.github/workflows/web-assembly.yml b/.github/workflows/web-assembly.yml index 8c3c5502..ab2b5b64 100644 --- a/.github/workflows/web-assembly.yml +++ b/.github/workflows/web-assembly.yml @@ -87,4 +87,4 @@ jobs: sudo chown -R www-data:www-data * git add public/salam-wa.js public/salam-wa.wasm git commit -m "Release: Update WebAssembly files" - git push https://x-access-token:${{ secrets.USER_TOKEN }}@github.com/SalamLang/Salam-Editor.git + git push https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/SalamLang/Salam-Editor.git