Skip to content

Update available versions #769

Update available versions

Update available versions #769

name: Update available versions
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
jobs:
update_versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get versions
run: ./get-versions
- name: Setup git user
run: |
git config --global user.email ${{secrets.BUILD_USER_EMAIL}}
git config --global user.name ${{secrets.BUILD_USER}}
- name: Commit and push changes
run: |
git add .
git commit -m "Update available versions | GitHub Actions $GITHUB_WORKFLOW $GITHUB_RUN_NUMBER" || echo "No changes to commit."
git push