Skip to content

Commit

Permalink
Merge pull request #177 from Mixone-FinallyHere/master
Browse files Browse the repository at this point in the history
Adds move update to the data update workflow
  • Loading branch information
pmariglia authored Dec 29, 2023
2 parents 154a7b7 + 1f4bff4 commit bd4bc06
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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] <github-actions[bot]@users.noreply.github.com>

0 comments on commit bd4bc06

Please sign in to comment.