Update Releases #9
This file contains hidden or 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 Releases | |
on: | |
schedule: | |
- cron: "0 */6 * * *" | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.13" | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
- name: Run update script | |
run: uv run python update_releases.py | |
- name: Display and changes | |
run: git diff | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v6 | |
with: | |
commit_message: "Update release information" | |
branch: main | |
file_pattern: "releases.json index.html" |