WIP: ci-action #55
|
@ -98,13 +98,13 @@ jobs:
|
||||||
|
|
||||||
if [ "$local_hash" != "$remote_hash" ]; then
|
if [ "$local_hash" != "$remote_hash" ]; then
|
||||||
echo "Hashes are different, updating Joint-Teapot..."
|
echo "Hashes are different, updating Joint-Teapot..."
|
||||||
echo "HASH_MATCH=true" >> $GITHUB_ENV
|
echo "HASH_MATCH=false" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo "Hashes are the same, no update required."
|
echo "Hashes are the same, no update required."
|
||||||
echo "HASH_MATCH=false" >> $GITHUB_ENV
|
echo "HASH_MATCH=true" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: Set up Git
|
- name: Set up Git
|
||||||
if: env.HASH_MATCH == 'true'
|
if: env.HASH_MATCH == 'false'
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "gitea-actions[bot]"
|
git config --global user.name "gitea-actions[bot]"
|
||||||
git config --global user.email "gitea-actions[bot]@users.noreply.gitea.com"
|
git config --global user.email "gitea-actions[bot]@users.noreply.gitea.com"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user