1
0
mirror of https://github.com/konpa/devicon.git synced 2025-02-24 01:02:22 +01:00

92 Commits

Author SHA1 Message Date
Thomas Bui
2a8c499605
New Feature: Upgrade Peekbot (#966)
* Moved stroke detection down

* Add code to retry no connection in peekbot

* Change upload artifact to earlier version

* Clean up logging msg

* Add ability to customize port number

* Update Selenium and geckodriver

* Move upload-artifact version to 2.2.4

* Add logging for webdriver retry

* Add color checking to peek-bot
2021-12-21 12:33:41 -08:00
Thomas Bui
80a384a994 Updated geckodriver 2021-08-23 16:58:17 -07:00
Thomas Bui
67ec11fb46 Fixed typo in build bot 2021-08-13 18:49:18 -07:00
Thomas Bui
08aa325a84
Feature: Peek and Build-Bot Upgrade (#806)
* Refactored peek script into a class

* Post-peek workflow now upload the new screenshots

* Refactored BuildSeleniumRunner into a class

* Updated build_icons.yml to reflect new changes

* Fixed issue with building icons that were already in the app

* Build script will take screenshot of new icons

* Update post peek yaml message

* Added alerts

* Peek script now check for strokes in icons

* Updated post_peek's strokes in svgs message

* Updated post_peek script's message

* Updated post_peek's message

* Refactored get_release_message into icomoon_build

* Change devicon.css name to devicon-base.css

* Updated post_peek message

* Added update icon as a valid PR title for bot-peek

* Add \n char to SVG after it gets optimized

* Fixed error with 'update icon' regex

* Build script now batch issues when upload SVG

* Addressed build-bot's screenshot order

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-08-13 11:51:22 -07:00
The Blob SCP
3e505e9b0a
Gave workflow a name 2021-07-16 21:25:59 -04:00
Thomas Bui
e23d295d37 Moved stale workflow into draft 2021-06-17 18:22:29 -07:00
Thomas Bui
26e2c64f4f
Minor update to CONTRIBUTING and post peek (#672) 2021-06-13 22:45:51 +02:00
Thomas Bui
d60b334fa3
Build bot now build new SVGs in folder that were already built (#666)
* Refactor the pull request fetching code

* Refactor build script to use past PRs

* Added function to update icomoon json

* new icon: matlab (line) (#640)

* Add matlab-line

* Fixed issues reported by check svg bot

* optimisation for svg (#643)

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>

* Add better logging to icomoon_build

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-06-13 15:17:13 +02:00
Thomas Bui
d2254e4e9f
Fix svg checker double posting comment (#660)
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
2021-05-31 11:48:20 +02:00
Clemens Bastian
9700cdddba
update public-upload-to-imgur action v2.2.2 (#651)
* update public-upload-to-imgur action v2.2.2

* update imgur upload action to v2.2.2
2021-05-27 17:19:34 -07:00
Thomas Bui
d98a72cb9a
Optimized SVG using SVGO (#597)
* Added script to optimize svgs

* Updated the svgs using svgo

* Made the optimize svg script into a workflow

* Added npm install step

* Change the env variable bug

* Clean up and updated check svg

* Change label name
2021-05-15 21:14:13 +02:00
Thomas Bui
2c6a21d9f4
Clean up and CONTRIBUTING upgrade (#595)
* Updated CONTRIBUTING

* Clean up various scripts (no functional changes)

* Update CONTRIBUTING.md

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>

* Change icons to use devicon in README and CONTRIBUTING

* Add optimize-bot into CONTRIBUTING.md

* Update CONTRIBUTING.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update README.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update README.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Change release message step name

* Update CONTRIBUTING.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Changed all 'svg' to "SVG"

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-05-12 09:57:31 +02:00
Thomas Bui
41790e615b
Script upgrades and updated CONTRIBUTING.md and README.md (#576)
* Updated README and CONTRIBUTING

* Added check for devicon object when peeking

* Added PR template

* Added a script to create release messages

* Updated CONTRIBUTING about new script

* Update .github/PULL_REQUEST_TEMPLATE/new_icon.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update .github/scripts/build_assets/arg_getters.py

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update .github/workflows/get_release_message.yml

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update gulpfile.js

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update .github/PULL_REQUEST_TEMPLATE/new_feature.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update .github/PULL_REQUEST_TEMPLATE/new_feature.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Added a way for peek bot to comment error

* Update CONTRIBUTING.md

Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>

* Update .github/scripts/get_release_message.py

Co-authored-by: Malte Jürgens <maltejur@web.de>

* Update .github/scripts/get_release_message.py

Co-authored-by: Malte Jürgens <maltejur@web.de>

* Update .github/PULL_REQUEST_TEMPLATE/new_feature.md

Co-authored-by: David Leal <halfpacho@gmail.com>

* Clean up and updated CONTRIBUTING

* Updated CONTRIBUTING

* Add set up steps for release message workflow

* Refactored peek workflow

* Added requests library

* Reformat devicon object error messages

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
Co-authored-by: Malte Jürgens <maltejur@web.de>
2021-04-29 10:04:32 +02:00
Thomas Bui
a23a1cd2f6
Build preparation for Release v2.11.0 (#559)
* bump npm version to v2.11.0

* Rebuilt package-lock.json

* Built new icons, icomoon.json and devicon.css

* Updated logging

Co-authored-by: Thomas-Boi <Thomas-Boi@users.noreply.github.com>
2021-04-10 10:26:41 +02:00
Amacado
b7ce626718 Merge remote-tracking branch 'origin/develop' into amacado/feature/readme-release-strategy
# Conflicts:
#	CONTRIBUTING.md
2021-04-09 11:26:16 +02:00
Amacado
573a8af18e rename the branch created by the workflow and set the base branch to the same branch which executed the action 2021-04-09 11:24:35 +02:00
Thomas Bui
921dd884c0 Check svg now fails if there's error and updated CONTRIBUTING 2021-03-28 21:27:01 -07:00
David Leal
2e041e2515
feat: Setup Stale workflow (#524)
* feat: Setup Stale workflow

* Change stale pull request message

Thanks, @Thomas-Boi!

* Add a note on `README.md` about stale PRs

* Fix some issues with the workflow

* Apply suggestions from code review

Co-authored-by: Clemens Bastian <amacado@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Clemens Bastian <amacado@users.noreply.github.com>

Co-authored-by: Clemens Bastian <amacado@users.noreply.github.com>
2021-03-08 14:04:40 -06:00
Thomas Bui
cb34247467
Fix issue with "post_peek_screenshot" action failing when it's not supposed to (#520)
* Change the boolean in post_check_svgs_comment

* Fixed issue where post_peek action would fail randomly

* Fixed post_peek action not acting correctly

* Apply suggestions from code review (change to PR Number)

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-25 14:34:21 +01:00
Thomas Bui
c841a95117
Change the boolean in post_check_svgs_comment (#515) 2021-02-23 22:58:23 +01:00
Clemens Bastian
570f6ac2a7
add environment for npm publish workflow (#513) 2021-02-23 19:45:20 +01:00
Thomas Bui
173d070f9e
Remove \n from bot:peek workflow (#511)
* Remove \n from script

* Update .github/workflows/post_peek_screenshot.yml

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-23 08:10:53 +01:00
Thomas Bui
2249c46f14 Added svg check status code 2021-02-21 20:15:28 -08:00
Thomas Bui
f246192fe6 Updated the logging of the actions 2021-02-21 18:50:09 -08:00
Clemens Bastian
bdf2627157
automate workflow for npm publish (#497)
* setup npm_publish workflow and update package.json with new repo info

* refactoring npm publish workflow to reduce dependencies

* npm publish to 2.9.0

* reduce npm publish workflow to publishing task only

* npm publish to 2.9.0

* testing npm publish

* update npm version to 2.9.0 (latest release)

* enhance CONTRIBUTING.md with sentence about npm release workflow
2021-02-21 23:02:40 +01:00
Thomas Bui
38db4a1d60 Removed 'default fall back icon' from build_icons.yml 2021-01-19 22:19:16 -08:00
Thomas Bui
4ea84460cc Changed to file read action 2021-01-10 20:28:03 -08:00
Thomas Bui
3d2e655f81 Added working workflow file 2021-01-10 20:01:50 -08:00
Thomas Bui
d0d101a776 Moved check_svgs_monthly to draft 2021-01-10 17:23:09 -08:00
Thomas Bui
5bcd269f00 Redo the workflow archs so we can comment on pr 2021-01-10 16:38:53 -08:00
Thomas Bui
2e49bfa1e1 Change comment action to a new action 2021-01-09 13:25:56 -08:00
Thomas Bui
c9b19346b2 Updated file names in check_svgs_on_pr 2021-01-08 22:29:27 -08:00
Thomas Bui
b7ae338d2f Create a monthly script that checks all svgs 2021-01-08 22:29:22 -08:00
Thomas Bui
5fea57350f
Fix the ref issue of the checkout action and sqlalchemy (#472)
* Remove head_ref from checkout action

* Fixed the svg errs in sqlalchemy
2021-01-09 01:06:35 +01:00
Thomas Bui
82bccb11fd
Added check script for the icons and fix icons with fill or viewBox issues (#460)
* Added script to check svg fill and viewBox

* Fix cucumber-plain-wordmark

* Fix various fill and viewBox issues in svgs

* Added check for height and width attr

* Added check_svgs workflow

* Fix an issue where the error is not log properly

* Added on push for testing

* Updated trigger so it now runs whenever PR is update

* Added sleep to script to make logs nicer

* Added script that create env var

* Updated the github_env to accomodate ubuntu

* Change format of log and allow filehandler to return Path

* Updated logging messages

* Updated refs for the checkout action

* Make logging nicer

* Updated fix messaging so it's more clear

* fix icons: icons/cucumber/cucumber-plain-wordmark.svg, icons/intellij/intellij-plain-wordmark.svg, icons/jenkins/jenkins-plain.svg, icons/twitter/twitter-original.svg, icons/yunohost/yunohost-plain.svg
2021-01-08 21:36:45 +01:00
Thomas Bui
a1d95e3e41 Added name for the upload action 2021-01-03 16:02:57 -08:00
Thomas Bui
4fce919b5a Clean up the peek_icons.yml 2021-01-03 13:33:56 -08:00
Thomas Bui
3c4e8bcd87 Change the screenshot upload to using upload-artifacts 2021-01-03 13:24:03 -08:00
Clemens Bastian
ee2645b5ea
fix typo in imgur output 2021-01-03 01:42:44 +01:00
Thomas Bui
d217bcfa37 Update imgur action ref 2020-12-30 15:19:50 -08:00
Thomas Bui
33c56b259e Made eps requirements optional and clear up some terms 2020-12-30 15:19:09 -08:00
Thomas Bui
799878ea39 Update handling outputs in build_icons.yml 2020-12-30 13:21:35 -08:00
Thomas Bui
e51fb1ccd8 Fixed error with logging 2020-12-30 11:35:45 -08:00
Thomas Bui
a84cd46a9f Added comments and script now fail if can't find icon name 2020-12-30 10:57:06 -08:00
Thomas Bui
a9eb51aca5 Various bug fixes and added ability to comment multiple files 2020-12-29 21:49:39 -08:00
Thomas Bui
8a5ff05f01 Various bug fixes and reference update 2020-12-29 15:31:36 -08:00
Thomas Bui
eb6884db84 Added zoomed in snapshot for peek scripts 2020-12-28 18:32:49 -08:00
Thomas Bui
4ec9d85805 Updated the workflow yaml to use the new repo 2020-12-27 18:46:39 -08:00
Thomas Bui
426d9507e3 Finalize new peek action workflow 2020-12-19 00:28:34 -08:00
Thomas Bui
f51bda7d29 Added pr comment action 2020-12-19 00:20:34 -08:00