1
0
mirror of https://github.com/konpa/devicon.git synced 2025-01-17 13:38:15 +01:00

Fixed an error where last commit didn't have desired changes

This commit is contained in:
Thomas Bui 2020-10-15 21:38:53 -07:00
parent 4854e827b8
commit 4001786082
2 changed files with 2 additions and 19 deletions

View File

@ -37,21 +37,4 @@ jobs:
if: ${{success()}}
with:
name: new_icons
path: ./new_icons.png
- name: Pull Request Add Comment
uses: actions/github-script@0.3.0
env:
message: >
Hi! I'm Devicons' GitHub Actions Bot!
I just peeked at the icons that you wanted to add and upload them to the
[Actions page](https://github.com/devicons/devicon/actions). The maintainers
will now take a look at it and decide whether to merge your PR.
Cheers :),
Bot
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { issue: { number: pr_number }, repo: { owner, repo } } = context;
github.issues.createComment({ pr_number, owner, repo, body: '$message' });
path: ./new_icons.png

View File

@ -63,7 +63,7 @@ Some icons are really simple (like the Apple one), so the original version can b
<li>The <b>plain</b> and <b>line</b> versions (with or without wordmark) need to stay as simple as possible. They must have only one color and the paths are united before exporting to svg.
</li>
<li>Optimize/compress your SVGs. You can use a service like <a href="https://compressor.io/">compressor</a> or <a href="https://petercollingridge.appspot.com/svg-editor">SVG Editor</a>.</li>
<li>
<li>The icon's strokes and texts must be fills. We use Icomoon to make our icon, which has its<a href="https://icomoon.io/#docs/stroke-to-fill"> requirements</a></li>
</ul>
<hr>