mirror of
https://gitea.com/gitea/homebrew-gitea.git
synced 2024-06-02 10:11:26 +05:30
28 lines
574 B
YAML
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
|
|
|