Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions .github/workflows/peek_icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down