homebrew-gitea/.gitea/workflows/update.yaml
2023-04-21 18:46:15 +08:00

28 lines
574 B
YAML

name: test
on:
- pull_request
- push
# push:
# branches:
# - master
# tags:
# - v*
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update
run: ./bump_version.sh
- name: commit
run: |
git config --global user.email "teabot@gitea.io"
git config --global user.name "GiteaBot"
git add --all
(test -z "$(git status --porcelain)" && exit 0) || true
git commit -m "[skip ci] Updated Version via cron"
#git push origin main