ci: checkout master before committing

This commit is contained in:
Ottermandias 2021-09-28 17:00:08 +02:00 committed by GitHub
parent 7b80327f82
commit 04e7fa4aa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,7 @@ jobs:
git config --global user.name "Actions User"
git config --global user.email "actions@github.com"
git fetch origin master && git checkout master
git add repo.json
git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true