1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00

make the commit message a url, also check if it really doesnt fail when there is nothing to commit

This commit is contained in:
mrdudz 2023-05-04 22:09:22 +02:00
parent e228e4d65c
commit 71bb11bee1

View File

@ -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