Skip to content

Update the bcd version #24

Update the bcd version

Update the bcd version #24

name: Update the bcd version
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 6' # Run at 00:00 UTC every Saturday
permissions:
contents: write
jobs:
update_bcd:
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 tools/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