mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-14 05:12:19 +08:00
同步上游bot
This commit is contained in:
parent
51c7c0ca88
commit
7978b863c9
7
.github/workflows/renovate-app-version.yml
vendored
7
.github/workflows/renovate-app-version.yml
vendored
@ -1,8 +1,6 @@
|
|||||||
name: Update app version in Renovate Branches
|
name: Update app version in Renovate Branches
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * *"
|
|
||||||
push:
|
push:
|
||||||
branches: [ 'renovate/*' ]
|
branches: [ 'renovate/*' ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -10,7 +8,6 @@ on:
|
|||||||
manual-trigger:
|
manual-trigger:
|
||||||
description: 'Manually trigger Renovate'
|
description: 'Manually trigger Renovate'
|
||||||
default: ''
|
default: ''
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-app-version:
|
update-app-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -50,6 +47,6 @@ 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
|
2
.github/workflows/renovate.yml
vendored
2
.github/workflows/renovate.yml
vendored
@ -2,7 +2,7 @@ name: Renovate
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 */6 * * *"
|
- cron: "0 0 * * *"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- localApps
|
- localApps
|
||||||
|
Loading…
Reference in New Issue
Block a user