-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (30 loc) · 1006 Bytes
/
update-veekun-data.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: update-veekun-data
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: cerbottana
- name: Clone veekun pokedex
uses: actions/checkout@v4
with:
repository: veekun/pokedex
path: veekun
- name: Update veekun data
run: cp veekun/pokedex/data/csv/*.csv cerbottana/src/cerbottana/data/veekun/
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
path: cerbottana
token: ${{ secrets.MACHINE_USER_PAT }}
push-to-fork: prnss/cerbottana
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
commit-message: "Veekun: update data"
title: "Veekun: update data"
branch: veekun-update-data