homebrew-gitea/.gitea/workflows/update.yaml

24 lines
602 B
YAML

name: update
on:
schedule:
- cron: '0 */12 * * *' # every 12 hours
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: update
run: ./bump_version.sh
- name: commit
uses: https://github.com/appleboy/git-push-action@v0.0.3
with:
author_email: "teabot@gitea.io"
author_name: GiteaBot
branch: main
commit: true
commit_message: "[skip ci] Updated Version via cron"
remote: "git@gitea.com:gitea/homebrew-gitea.git"
ssh_key: ${{ secrets.DEPLOY_KEY }}