Push to repo in GitHub Actions

I wanted to have a GitHub Action step push back to the repo it is running in. For that you need the write permission. which can be added like so: permissions : contents : write from: git - Push to origin from GitHub action - Stack Overflow eg in: add write permission · jamesmstone/chess@d0a3250 · GitHub name : Push commit on : push permissions : contents : write jobs : report : runs-on :…