Skip to content

Update data files from smogon database #902

Update data files from smogon database

Update data files from smogon database #902

Workflow file for this run

name: Update data files from smogon database
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
jobs:
Update-data-files:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: master
- name: Run update script
run: |
chmod +x ./scripts/update_all_data.sh
./scripts/update_all_data.sh
chmod -x ./scripts/update_all_data.sh
- name: Create or update pull request
uses: peter-evans/create-pull-request@v7
with:
commit-message: JSON data update from smogon
branch: create-pull-request/update-data
delete-branch: true
title: Automatic data update from smogon
body: |
Automated data update by [update-data.yml](https://github.com/hsahovic/poke-env/tree/master/.github/workflows/update-data.yml)
assignees: ${{ github.repository_owner }}
reviewers: ${{ github.repository_owner }}
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>