mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-04-24 01:30:50 +00: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 .
|
git add .
|
||||||
if git commit -m 'cascading-pr update'; then
|
if git commit -m 'cascading-pr update'; then
|
||||||
git push --force origin $branch
|
git push --force origin $branch
|
||||||
git rev-parse HEAD > ../$direction.sha
|
|
||||||
log_info "pushed"
|
log_info "pushed"
|
||||||
else
|
else
|
||||||
log_info "nothing to push"
|
log_info "nothing to push"
|
||||||
fi
|
fi
|
||||||
|
git rev-parse HEAD > ../$direction.sha
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue