From 1a1f66a69408cf752e070b4789997b5688aff623 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Thu, 13 Mar 2025 14:31:52 +0100 Subject: [PATCH] WF --- .github/workflows/get-versions-from-newreleases.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/get-versions-from-newreleases.yaml b/.github/workflows/get-versions-from-newreleases.yaml index 6375de7..a1eede3 100644 --- a/.github/workflows/get-versions-from-newreleases.yaml +++ b/.github/workflows/get-versions-from-newreleases.yaml @@ -34,12 +34,12 @@ jobs: - name: Commit JSON env: - TOKEN: ${{ secrets.PAT_MICHEL }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh auth login --with-token <<< $TOKEN - gh auth status - git config --global user.email "michel.roegl-brunner@htl-braunau.at" + git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "GitHub Actions[bot]" + git checkout -b update_versions git add json/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