1
0
Fork 0
mirror of https://code.forgejo.org/actions/cascading-pr synced 2025-03-14 22:36:58 +01:00

the SHA of the head is always needed, even when there is no update

This commit is contained in:
Earl Warren 2023-10-14 20:26:10 +02:00
parent b207ec6de2
commit 964d21ab1b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -139,11 +139,11 @@ function push() {
git add .
if git commit -m 'cascading-pr update'; then
git push --force origin $branch
git rev-parse HEAD > ../$direction.sha
log_info "pushed"
else
log_info "nothing to push"
fi
git rev-parse HEAD > ../$direction.sha
)
}