mirror of
https://github.com/konpa/devicon.git
synced 2025-08-16 03:24:13 +02:00
Finalize new peek action workflow
This commit is contained in:
6
.github/scripts/icomoon_peek.py
vendored
6
.github/scripts/icomoon_peek.py
vendored
@@ -9,9 +9,9 @@ from build_assets import filehandler, util
|
|||||||
def main():
|
def main():
|
||||||
args = util.get_commandline_args()
|
args = util.get_commandline_args()
|
||||||
new_icons = filehandler.find_new_icons(args.devicon_json_path, args.icomoon_json_path)
|
new_icons = filehandler.find_new_icons(args.devicon_json_path, args.icomoon_json_path)
|
||||||
# if len(new_icons) == 0:
|
if len(new_icons) == 0:
|
||||||
# print("No files need to be uploaded. Ending script...")
|
print("No files need to be uploaded. Ending script...")
|
||||||
# return
|
return
|
||||||
|
|
||||||
# print list of new icons
|
# print list of new icons
|
||||||
print("List of new icons:", *new_icons, sep = "\n")
|
print("List of new icons:", *new_icons, sep = "\n")
|
||||||
|
8
.github/workflows/peek_icons.yml
vendored
8
.github/workflows/peek_icons.yml
vendored
@@ -40,16 +40,20 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
IMG_URL: ${{ steps.imgur_step.outputs.imgur_url }}
|
IMG_URL: ${{ steps.imgur_step.outputs.imgur_url }}
|
||||||
MESSAGE: >
|
MESSAGE: >
|
||||||
Hi! I'm Devicons' Peek Bot!
|
Hi!
|
||||||
|
|
||||||
I just peeked at the icons that you wanted to add using [icomoon.io](https://icomoon.io/app/#/select).
|
|
||||||
|
I'm Devicons' Peek Bot and I just peeked at the icons that you wanted to add using [icomoon.io](https://icomoon.io/app/#/select).
|
||||||
|
|
||||||
Here is the result below:
|
Here is the result below:
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
Note: If the image doesn't show up, it's probably because it has been autodeleted by Imgur after 6 months due to our API choice.
|
Note: If the image doesn't show up, it's probably because it has been autodeleted by Imgur after 6 months due to our API choice.
|
||||||
|
|
||||||
|
|
||||||
Here is [the url]({1}).
|
Here is [the url]({1}).
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user