diff --git a/.github/workflows/get-versions-from-newreleases.yaml b/.github/workflows/get-versions-from-newreleases.yaml index 98fc0ac..8ce799f 100644 --- a/.github/workflows/get-versions-from-newreleases.yaml +++ b/.github/workflows/get-versions-from-newreleases.yaml @@ -41,6 +41,6 @@ jobs: git config --global user.name "GitHub Actions[bot]" git checkout -b update_versions || git checkout update_versions git add json/versions.json - git commit -m "Update versions.json" --force - git push origin update_versions + git commit -m "Update versions.json" + git push origin update_versions --force gh pr create --title "[AUTOMATIC PR]Update versions.json" --body "Update versions.json, crawled from newreleases.io" --base main --head update_versions