Update Version Information #929
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Version Information | |
on: | |
push: | |
paths: | |
- 'update_version_info.sh' | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
Update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Update Version Information | |
run: |- | |
sudo bash update_version_info.sh -- && echo "OK" | |
- name: Commit and push on changes | |
run: |- | |
git add . | |
git diff | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
git commit -m "Updated version information" -a || echo "No changes to commit" | |
git push |