From 1c0002d16a3c692109defd5c69d24fecb6f15884 Mon Sep 17 00:00:00 2001 From: FonduemangVI Date: Sun, 31 Mar 2024 23:03:36 +1100 Subject: [PATCH] test --- .github/workflows/update_contributors.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/update_contributors.yml b/.github/workflows/update_contributors.yml index 7fa8769b3..99faa5c68 100644 --- a/.github/workflows/update_contributors.yml +++ b/.github/workflows/update_contributors.yml @@ -23,3 +23,11 @@ jobs: - name: Update CONTRIBUTORS.md run: | node .github/scripts/update-contributors.js + + - name: Commit and push if it's not up to date + run: | + git diff + git config --global user.email "actions@github.com" + git config --global user.name "GitHub Actions" + git commit -am "Update CONTRIBUTORS.md" || exit 0 + git push