Skip to content

Commit

Permalink
feat: 修改 workflow 来解决重复触发的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 committed Sep 10, 2023
1 parent 64c7274 commit 1b6ede4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/renovate-app-version.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Update app version in Renovate Branches

on:
push:
branches: [ 'renovate/*' ]
workflow_dispatch:
inputs:
manual-trigger:
Expand Down Expand Up @@ -47,7 +45,7 @@ jobs:
for file in "${files[@]}"; do
if [[ $file == *"docker-compose.yml"* ]]; then
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
done
1 change: 1 addition & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"gitIgnoredAuthors": [
"githubaction@githubaction.com"
],
"rebaseWhen": "never",
"packageRules": [
{
"packageNames": ["docker-compose"],
Expand Down

0 comments on commit 1b6ede4

Please sign in to comment.