From 5f3de87bc87bd64bb505b0d2ea548bef7df199a9 Mon Sep 17 00:00:00 2001 From: AJXD2 Date: Sun, 17 Nov 2024 03:12:36 -0500 Subject: [PATCH] Update generate_types.yml Use GH token to push --- .github/workflows/generate_types.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/generate_types.yml b/.github/workflows/generate_types.yml index 7c5abce..1d4215a 100644 --- a/.github/workflows/generate_types.yml +++ b/.github/workflows/generate_types.yml @@ -25,11 +25,6 @@ jobs: run: | git clone https://github.com/helldivers-2/json - # Debugging: List submodule files to check if the file exists - - name: List submodule files for debugging - run: | - ls -la ./ - # Step 4: Run the generate_types script - name: Run generate_types.py run: | @@ -42,4 +37,5 @@ jobs: git config --global user.email "github-actions[bot]@users.noreply.github.com" git add helldivepy/generated_types.py git commit -m "Automated update: Regenerated types" || echo "No changes to commit" + git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/AJXD2/helldive.py.git git push