Skip to content

update-download-links #14

update-download-links

update-download-links #14

name: Update download links
on:
workflow_dispatch:
repository_dispatch:
types: [update-download-links]
jobs:
update_readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Nastavenie Pythonu
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Instal python requirements
run: pip install requests
- name: Update README.md
run: python .github/scripts/update-readme.py
- name: Commit and push
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add README.md
git commit -m 'Update download links in README.md [skip ci]'
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}