This commit is contained in:
Michel Roegl-Brunner 2025-03-13 14:34:33 +01:00
parent 0bd49a54bf
commit 76c6499410

View File

@ -39,8 +39,8 @@ jobs:
run: | run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions[bot]" git config --global user.name "GitHub Actions[bot]"
git checkout -b update_versions git checkout -b update_versions || git checkout update_versions
git add json/versions.json git add json/versions.json
git commit -m "Update versions.json" git commit -m "Update versions.json" --force
git push origin update_versions git push origin update_versions
gh pr create --title "[AUTOMATIC PR]Update versions.json" --body "Update versions.json, crawled from newreleases.io" --base main --head update_versions gh pr create --title "[AUTOMATIC PR]Update versions.json" --body "Update versions.json, crawled from newreleases.io" --base main --head update_versions