Update the bcd version #2
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 the bcd version | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 14 * * *" # Test run at 14:00 UTC | |
permissions: | |
contents: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Update version | |
run: | | |
python ./tool/update_bcd_version.py | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add bcd_version | |
git diff --quiet && git diff --staged --quiet || git commit -m "Update bcd version" | |
git push |