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:
parent
b207ec6de2
commit
964d21ab1b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue