-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: set output path to project directory & streamline output props
- Loading branch information
Showing
3 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,13 @@ on: | |
workflow_dispatch: | ||
schedule: | ||
- cron: "0 2 * * 5" | ||
|
||
jobs: | ||
update-emoji-json: | ||
runs-on: ubuntu-latest | ||
env: | ||
VERSION: | ||
RELEASE_URL: | ||
VERSION: '' | ||
RELEASE_URL: '' | ||
WORKING_DIR: scripts/emoji_generator | ||
steps: | ||
- name: Checkout Repository | ||
|
@@ -40,7 +40,9 @@ jobs: | |
env: | ||
PYTHONUNBUFFERED: 1 | ||
EMOJI_VERSION: ${{ env.VERSION }} | ||
run: poetry run python ${{ env.WORKING_DIR }}/emoji_generator/generator.py | ||
run: | | ||
cd ${{ env.WORKING_DIR }} | ||
poetry run python emoji_generator/generator.py | ||
- name: Push Changes and Create PR | ||
uses: peter-evans/create-pull-request@v7 | ||
|
@@ -49,7 +51,7 @@ jobs: | |
title: "Update emoji.json to emojibase-data@${{ env.VERSION }}" | ||
body: | | ||
This PR updates emoji.json to the latest version of emojibase-data: `emojibase-data@${{ env.VERSION }}`. | ||
You can review the release notes [here](${{ env.RELEASE_URL }}). | ||
branch: dependencies/emoji-base-updates | ||
author: GitHub <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters