action提交前再次pull和rebase
Some checks failed
自动生成README.md文件 / create-readme (push) Failing after 11s

This commit is contained in:
liyp 2025-04-10 16:20:42 +08:00
parent 2184ff3a94
commit e33aa695c1

View File

@ -55,5 +55,6 @@ jobs:
echo "No changes to commit." echo "No changes to commit."
else else
git commit -m "AutoGenerateREADME.md" git commit -m "AutoGenerateREADME.md"
git pull --rebase --force-with-lease "https://${GITEA_TOKEN}@${CLEAN_REPO_URL}" main
git push "https://${GITEA_TOKEN}@${CLEAN_REPO_URL}" git push "https://${GITEA_TOKEN}@${CLEAN_REPO_URL}"
fi fi