From 71bb11bee120872d911b98e58ce869df60b3610f Mon Sep 17 00:00:00 2001 From: mrdudz Date: Thu, 4 May 2023 22:09:22 +0200 Subject: [PATCH] make the commit message a url, also check if it really doesnt fail when there is nothing to commit --- .github/workflows/snapshot-on-push-master.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snapshot-on-push-master.yml b/.github/workflows/snapshot-on-push-master.yml index fb42bfcb3..50f5cd296 100644 --- a/.github/workflows/snapshot-on-push-master.yml +++ b/.github/workflows/snapshot-on-push-master.yml @@ -114,7 +114,8 @@ jobs: git config user.email "cc65.nomail@github.com" git config push.default simple git add -A - if git commit -m "Updated from cc65 commit ${GITHUB_SHA}." ; then + # prevent failure when there is nothing to commit + if git commit -m "Updated from https://github.com/cc65/cc65/commit/${GITHUB_SHA}" ; then git push fi