Add .forgejo/workflows/autoupdate.yml

This commit is contained in:
Jonas8272 committed 2026-11-20 18:50:02 +00:00
1 parent e034704d95
commit c826f04f49
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
name: autoupdate
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
update:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Update manifest
run: bash scripts/update-mornye.sh
- name: Commit and push
run: |
git config user.name "autoupdate"
git config user.email "[email protected]"
if ! git diff --quiet; then
git commit -am "mornye: update to $(jq -r .version bucket/mornye.json)"
git push
fi