Files
scoop-bucket/.forgejo/workflows/autoupdate.yml
T

21 lines
551 B
YAML

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