diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index e4a35020f..ae933eba7 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -18,21 +18,27 @@ jobs: - name: Install Requirements run: | python -m pip install requests - - name: Run update script + - name: Run update script pokedex run: | python ./data/scripts/update_pokedex.py - name: Overwrite pokedex.json run: | mv ./pokedex_new.json ./data/pokedex.json + - name: Run update script moves + run: | + python ./data/scripts/update_moves.py + - name: Overwrite moves.json + run: | + mv ./data/new_moves.json ./data/moves.json - name: Create or update pull request uses: peter-evans/create-pull-request@v3 with: - commit-message: pokedex update from smogon/pokemon-showdown + commit-message: Data update from smogon/pokemon-showdown branch: create-pull-request/update-data delete-branch: true - title: Automatic pokedex update from smogon/pokemon-showdown + title: Automatic data update from smogon/pokemon-showdown body: | - Automated pokedex update + Automated data update assignees: ${{ github.repository_owner }} reviewers: ${{ github.repository_owner }} author: github-actions[bot] \ No newline at end of file