mirror of
https://github.com/tiennm99/cheahjs-free-llm-api-resources.git
synced 2026-10-14 20:17:00 +00:00
refactor: Remove redundant commit step and add author and committer to Create Pull Request
This commit is contained in:
1 parent
0cd77393fd
commit
fb298f310c
1 file changed
+3
-8
@@ -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 <actions@github.com>"
|
||||
author: "GitHub Actions <actions@github.com>"
|
||||
Reference in new issue
Block a user