From fb298f310c9b584d3eeac7c5327d18db294aef83 Mon Sep 17 00:00:00 2001 From: "Jun Siang Cheah (aider)" Date: Sun, 1 Sep 2024 23:38:59 +0100 Subject: [PATCH] refactor: Remove redundant commit step and add author and committer to Create Pull Request --- .github/workflows/update-readme.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 40f0b31..cd54fb3 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -36,18 +36,13 @@ jobs: GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.auth.outputs.credentials_file_path }} run: | python src/pull_available_models.py - - name: Commit changes - id: commit-changes - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: "Update README with latest models" - branch: update-readme-${{ github.run_id }} - create_branch: true - name: Create Pull Request - if: steps.commit-changes.outputs.changes_detected uses: peter-evans/create-pull-request@v6 with: title: "Update README with latest models" body: "This PR updates the README with the latest available models." branch: update-readme-${{ github.run_id }} base: main + commit-message: "Update README with latest models" + committer: "GitHub Actions " + author: "GitHub Actions "