Skip to content

Update versions

Update versions #18

Workflow file for this run

name: Update versions
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.12.3
- name: Install requirements
run: python -m pip install -r ./.github/workflows/requirements.txt
- run: python ./.github/workflows/updater.py
- name: Commit
run: |
git add versions.json
git config --local user.email "69420+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -am "New BDS Version!"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}