feat: Use GitHub Actions run ID to create unique branch name in update-readme.yml

This commit is contained in:
Jun Siang Cheah (aider) committed 2024-09-01 22:53:14 +01:00
1 parent a096230a9c
commit 489419c261
1 file changed
+2 -2
+2 -2
View File
@@ -37,12 +37,12 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update README with latest models"
branch: update-readme
branch: update-readme-${{ github.run_id }}
- name: Create Pull Request
if: steps.changes.outputs.exit_code != '0'
uses: peter-evans/create-pull-request@v5
with:
title: "Update README with latest models"
body: "This PR updates the README with the latest available models."
branch: update-readme
branch: update-readme-${{ github.run_id }}
base: main