1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-30 09:40:04 +02: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