From 044914a33c3f9f7e8e7f2c5017662502f1c43c50 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Fri, 12 Nov 2021 14:05:05 -0500 Subject: [PATCH 1/2] Update generator.yml --- .github/workflows/generator.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/generator.yml b/.github/workflows/generator.yml index f71e869f..e2d5048f 100644 --- a/.github/workflows/generator.yml +++ b/.github/workflows/generator.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: Generator # Controls when the workflow will run on: @@ -33,8 +33,15 @@ jobs: - name: "Run generator" run: "python generator.py" - - name: save updated files - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - git diff-index --quiet HEAD || (git commit -a -m '[U] Regenerate generated files' && git push) + - uses: EndBug/add-and-commit@v7 + with: + # Determines the way the action fills missing author name and email. Three options are available: + # - github_actor -> UserName + # - user_info -> Your Display Name + # - github_actions -> github-actions + # 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' From 825026d1b4d527420bcb714f8bae7032182e6465 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Nov 2021 19:05:23 +0000 Subject: [PATCH 2/2] [U] Generate json --- generated/people-list.json5 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 generated/people-list.json5 diff --git a/generated/people-list.json5 b/generated/people-list.json5 new file mode 100644 index 00000000..177080d9 --- /dev/null +++ b/generated/people-list.json5 @@ -0,0 +1,8 @@ +[ + { + path: "siinamota", + id: "siinamota", + name: "椎名もた", + profileUrl: "https://pbs.twimg.com/profile_images/591631266937638913/AtOAlQpd_400x400.jpg", + }, +] \ No newline at end of file