Skip to content

update

update #24

Workflow file for this run

name: Update latest versions
on:
workflow_dispatch:
repository_dispatch:
types: [update]
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- run: sleep 180 # wait for the release to be available
- run: rake sync
- name: commit and push
run: |
git config user.name "GitHub Actions Bot"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "rake sync"
git push
env:
GITHUB_TOKEN: ${{ secrets.MATZBOT_AUTO_UPDATE_TOKEN }}