Skip to content

Initial Profile Updates - Druid, Hunter, Mage #321

Initial Profile Updates - Druid, Hunter, Mage

Initial Profile Updates - Druid, Hunter, Mage #321

Workflow file for this run

name: Update README
on:
workflow_dispatch:
push:
branches: [ "master" ]
paths:
- 'Rotations/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
id: python3
with:
python-version: '3.10'
cache: 'pip'
- name: pip install dependencies
run: pip install -r "$GITHUB_WORKSPACE/.github/scripts/requirements.txt"
- name: Run Python README updater
run: ${{ steps.python3.outputs.python-path }} "$GITHUB_WORKSPACE/.github/scripts/update_readme.py" "$GITHUB_WORKSPACE"
- name: Commit changes
run: |
git diff
git config --global user.email "actions@users.noreply.github.com"
git config --global user.name "README Bot"
git add README.md
git commit -m "Updated README.md from rotation metadata" || exit 0
git push