mirror of
https://github.com/konpa/devicon.git
synced 2025-09-01 10:25:11 +02:00
Added a comment action and fix async issue in python script
This commit is contained in:
17
.github/workflows/peek_icons.yml
vendored
17
.github/workflows/peek_icons.yml
vendored
@@ -21,15 +21,9 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r ./.github/scripts/requirements.txt
|
||||
npm install
|
||||
<<<<<<< HEAD
|
||||
- name: Run icomoon_peek.py
|
||||
run: >
|
||||
python ./.github/scripts/icomoon_peek.py
|
||||
=======
|
||||
- name: Run icomoon_upload.py
|
||||
run: >
|
||||
python ./.github/scripts/icomoon_upload.py
|
||||
>>>>>>> 89412c2... Added a peek script
|
||||
./.github/scripts/build_assets/geckodriver-v0.27.0-win64/geckodriver.exe
|
||||
./icomoon.json ./devicon.json ./icons ./ --headless
|
||||
- name: Upload geckodriver.log for debugging purposes
|
||||
@@ -43,14 +37,12 @@ jobs:
|
||||
if: ${{success()}}
|
||||
with:
|
||||
name: new_icons
|
||||
<<<<<<< HEAD
|
||||
path: ./new_icons.png
|
||||
=======
|
||||
path: ./new_icons.png
|
||||
- name: Create a comment alerting that the bot peeked
|
||||
uses: peter-evans/commit-comment@v1
|
||||
- name: Comment on the PR about the result
|
||||
uses: github-actions-up-and-running/pr-comment@v1.0.1
|
||||
with:
|
||||
body: >
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
message: >
|
||||
Hi! I'm Devicons' GitHub Actions Bot!
|
||||
|
||||
I just peeked at the icons that you wanted to add and upload them to the
|
||||
@@ -59,4 +51,3 @@ jobs:
|
||||
|
||||
Cheers :),
|
||||
Bot
|
||||
>>>>>>> 89412c2... Added a peek script
|
||||
|
Reference in New Issue
Block a user