This commit is contained in:
Michel Roegl-Brunner 2025-03-13 14:31:52 +01:00
parent da16247176
commit 1a1f66a694

View File

@ -34,12 +34,12 @@ jobs:
- name: Commit JSON - name: Commit JSON
env: env:
TOKEN: ${{ secrets.PAT_MICHEL }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
gh auth login --with-token <<< $TOKEN git config --global user.email "github-actions[bot]@users.noreply.github.com"
gh auth status
git config --global user.email "michel.roegl-brunner@htl-braunau.at"
git config --global user.name "GitHub Actions[bot]" git config --global user.name "GitHub Actions[bot]"
git checkout -b update_versions
git add json/versions.json git add json/versions.json
git commit -m "Update versions.json" git commit -m "Update versions.json"
git push --force 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