Skip to content

Update README release callout #10

Update README release callout

Update README release callout #10

name: Update README release callout
on:
schedule:
- cron: "15 06 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Refresh release callout
env:
GH_TOKEN: ${{ github.token }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: python scripts/update_release_readme.py
- name: Commit README update
run: |
if git diff --quiet README.md; then
echo "README unchanged"
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "docs: update current monthly release callout"
git push