同步上游bot

This commit is contained in:
okxlin 2023-11-09 18:55:13 +08:00
parent 51c7c0ca88
commit 7978b863c9
2 changed files with 3 additions and 6 deletions

View File

@ -1,8 +1,6 @@
name: Update app version in Renovate Branches
on:
schedule:
- cron: "0 0 * * *"
push:
branches: [ 'renovate/*' ]
workflow_dispatch:
@ -10,7 +8,6 @@ on:
manual-trigger:
description: 'Manually trigger Renovate'
default: ''
jobs:
update-app-version:
runs-on: ubuntu-latest
@ -50,6 +47,6 @@ 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
done

View File

@ -2,7 +2,7 @@ name: Renovate
on:
schedule:
- cron: "0 */6 * * *"
- cron: "0 0 * * *"
push:
branches:
- localApps