Update README.md

This commit is contained in:
Alastair Mooney 2024-10-08 10:18:59 +01:00 committed by GitHub
parent 6a791fdf4e
commit b380120404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -234,9 +234,13 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and Push Changes - name: Commit and Push Changes
run: | run: |
git add . git add -A
git commit -m "Automatically added GitHub issue links to TODOs" if [[ `git status --porcelain` ]]; then
git push origin main git commit -m "Automatically added GitHub issue links to TODOs"
git push origin main
else
echo "No changes to commit"
fi
``` ```
You will probably also want to use the setting `CLOSE_ISSUES: "true"`, to allow issues to be closed when a TODO is You will probably also want to use the setting `CLOSE_ISSUES: "true"`, to allow issues to be closed when a TODO is