diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/workflow.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index f378bfb..e3c1ccc 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -23,9 +23,9 @@ jobs: ./lpm-latest list --table url,description --header Library,Description --type library --userdir . >> README.md ./lpm-latest exec 'common.write("manifest.json", json.encode(json.decode(common.read("manifest.json")), { pretty = true }) .. "\n")' --userdir . ./lpm-latest purge --userdir . - #if ! git diff --exit-code -s README.md manifest.json; then - # git config --global user.name "Github Actions" && git config --global user.email "<>" - # git add README.md manifest.json - # git commit -m '[CI] Updated README.md and manifest.json.' - # git push - #fi + if ! git diff --exit-code -s README.md manifest.json; then + git config --global user.name "Github Actions" && git config --global user.email "<>" + git add README.md manifest.json + git commit -m '[CI] Updated README.md and manifest.json.' + git push + fi |