mirror of
https://github.com/one-among-us/data.git
synced 2024-11-10 13:24:50 +08:00
Update generator.yml
This commit is contained in:
parent
0d9198806f
commit
044914a33c
19
.github/workflows/generator.yml
vendored
19
.github/workflows/generator.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
# This is a basic workflow to help you get started with Actions
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
name: CI
|
name: Generator
|
||||||
|
|
||||||
# Controls when the workflow will run
|
# Controls when the workflow will run
|
||||||
on:
|
on:
|
||||||
@ -33,8 +33,15 @@ jobs:
|
|||||||
- name: "Run generator"
|
- name: "Run generator"
|
||||||
run: "python generator.py"
|
run: "python generator.py"
|
||||||
|
|
||||||
- name: save updated files
|
- uses: EndBug/add-and-commit@v7
|
||||||
run: |
|
with:
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
# Determines the way the action fills missing author name and email. Three options are available:
|
||||||
git config --global user.name "github-actions[bot]"
|
# - github_actor -> UserName <UserName@users.noreply.github.com>
|
||||||
git diff-index --quiet HEAD || (git commit -a -m '[U] Regenerate generated files' && git push)
|
# - user_info -> Your Display Name <your-actual@email.com>
|
||||||
|
# - github_actions -> github-actions <email associated with the github logo>
|
||||||
|
# Default: github_actor
|
||||||
|
default_author: github_actions
|
||||||
|
|
||||||
|
# The message for the commit.
|
||||||
|
# Default: 'Commit from GitHub Actions (name of the workflow)'
|
||||||
|
message: '[U] Generate json'
|
||||||
|
Loading…
Reference in New Issue
Block a user