-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and remove unused files
- Loading branch information
Showing
7 changed files
with
46 additions
and
294 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Remove Duplicate Nodes | ||
name: Update Nodes | ||
|
||
on: | ||
push: | ||
|
@@ -15,21 +15,25 @@ jobs: | |
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
- name: Install Dependencies | ||
run: pip install -r requirements.txt | ||
|
||
run: | | ||
poetry install | ||
- name: Generate Prisma Client | ||
run: | | ||
poetry run prisma generate | ||
- name: Run Python Script | ||
run: python remove_duplicates.py | ||
run: | | ||
poetry run python update_nodes.py | ||
- name: Commit Changes | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git add . | ||
git diff-index --quiet HEAD || git commit -m "Remove duplicate nodes" | ||
git diff-index --quiet HEAD || git commit -m "Update Nodes" | ||
git push |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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