feat: 解决 renovate action 重复提交的问题

This commit is contained in:
zhengkunwang223 2023-09-10 23:13:06 +08:00
parent 64c7274817
commit 84b16d127f
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ jobs:
for file in "${files[@]}"; do for file in "${files[@]}"; do
if [[ $file == *"docker-compose.yml"* ]]; then if [[ $file == *"docker-compose.yml"* ]]; then
app_name=$(echo $file | cut -d'/' -f 2) app_name=$(echo $file | cut -d'/' -f 2)
git add "apps/$app_name/*" && git commit -m "Update app version" --no-verify && git push || true git add "apps/$app_name/*" && git commit -m "Update app version [skip ci]" --no-verify && git push || true
fi fi
done done

View File

@ -4,6 +4,7 @@
"gitIgnoredAuthors": [ "gitIgnoredAuthors": [
"githubaction@githubaction.com" "githubaction@githubaction.com"
], ],
"rebaseWhen": "never",
"packageRules": [ "packageRules": [
{ {
"packageNames": ["docker-compose"], "packageNames": ["docker-compose"],