From 9e5824936986f4570140f109f9f60e2d1acb0b02 Mon Sep 17 00:00:00 2001 From: natecohen <94263748+natecohen@users.noreply.github.com> Date: Sat, 16 Nov 2024 15:42:54 -0500 Subject: [PATCH] Fix GitHub actions --- .github/workflows/update-and-commit.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update-and-commit.yml b/.github/workflows/update-and-commit.yml index 2458748b..a8ffbacc 100644 --- a/.github/workflows/update-and-commit.yml +++ b/.github/workflows/update-and-commit.yml @@ -10,15 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - # Checkout the repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - # Run the update script - name: Run update script - run: python script.py + run: python main.py - # Check if there are any updates - name: Check for updates id: check_updates run: | @@ -29,7 +26,6 @@ jobs: else echo "updates_found=false" >> $GITHUB_ENV - # Commit and push changes if updates are found - name: Commit and push changes if: env.updates_found == 'true' run: |