-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (33 loc) · 1.17 KB
/
update_enka_db.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
33
34
35
36
37
38
39
name: Update EnkaDB Assets
on:
workflow_dispatch: {}
schedule:
- cron: '0 12 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Fetch latest commit SHA
id: latest_sha
run: echo "::set-output name=sha::$(git ls-remote https://github.com/pizza-studio/EnkaDBGenerator.git HEAD | cut -f1)"
- name: Run update asset meta script
id: compare_shas
run: |
/usr/bin/bash -e ./Script/UpdateEnkaDB.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-enka-asset-${{ github.run_number }}
base: dev
title: "Update EnkaDB Assets"
body: |
This PR updates the EnkaDB Asset JSON files.
delete-branch: true
assignees: ShikiSuen
reviewers: CanglongCl
team-reviewers: |
owners
maintainers