Commit Graph

95 Commits

Author SHA1 Message Date
Álvaro Mondéjar
0823743d4b
Push tag manually in 'Publish Releases' workflow (#7342)
* Push tag manually in 'Publish Releases' workflow

* Use 'set -e' command
2022-04-18 05:56:17 -07:00
Sachin Raja
38cc1af542
add closes keyword to pr template (#7253) 2022-03-30 16:27:26 -07:00
Álvaro Mondéjar
923b7fbc60
Automatically remove help wanted labels (#7228)
It could really confusing `help wanted` labels in closed issues.
2022-03-16 07:54:38 -07:00
Álvaro Mondéjar
c05890dc5f
Fix error in issue templates links (#7220) 2022-03-14 14:57:01 +01:00
Álvaro Mondéjar
7bea1d073b
Update remove-labels-gh-action version (#7202) 2022-03-08 12:11:12 +01:00
Sachin Raja
d6612085c4
prefer similarweb for website ranks (#7154)
* prefer similarweb for website ranks

* Update icon_request.yml

* Update icon_request.yml

* update CONTRIBUTING.md

* format yaml

* update pull request template

* update example

* fix formatting errors
2022-02-21 12:29:48 -08:00
Álvaro Mondéjar
2a87f98d3b
Fix link in issue template for icon requests (#7159) 2022-02-18 06:15:11 -08:00
renovate[bot]
ebbc9dea2a
Update all dependencies (#7146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 16:09:00 -08:00
Álvaro Mondéjar
47e4a69724
Fix error in project auto-unassigment on CI (#7139) 2022-02-09 22:33:26 +01:00
Álvaro Mondéjar
6eee268a48
Fix project auto-assignment closing not merged PRs (#7128)
* Fix project assignment on closed PRs not merged

* Minor change

* Don't execute labeler on closed PRs

* Fix column name
2022-02-07 10:24:48 +01:00
Álvaro Mondéjar
4e502c5742
Update Node.js to v16 in CI workflows (#7127) 2022-02-04 06:24:11 -08:00
Álvaro Mondéjar
ec225ea84e
Exclude "project" word discovering potential duplicates (#7105) 2022-01-28 09:54:36 -08:00
Álvaro Mondéjar
8185c5d974
Update "Potential Duplicates" reporter markup (#7074) 2022-01-19 06:17:27 -08:00
Alexandre Paradis
a253682eb8
Add some icons in Readme (#4816)
* Add some icons in Readme

* Align icons at left

* Add some more icons

* Remove inline image

- Use relative icons path

* Format Third Party Extensions
 as a table

* force website build

* added readme-icons foler with icons for the readme.md file, as well as icons for light and dark modes in the readme.md titles

* restored corrupted svgs for readme-icons

* moved the icons to asset/readme, added icons for Drawio, Hexo and Jetpack Compose

* - Use `develop` branch absolutified links for README images
- Strip dark image theme links before publish to Github and npm
- Clean third party extensions table

* Commit to tag (ony inside master branch)

* Fix differences in README

* Reintroduce link in README logo

* Drop uneeded newline from README

* Fix error in README

* Add newlines for SVGs

* Newlines for all SVGs

* Reuse black icons from library

* Commit using Github Actions bot

* Reuse diagrams.net library icon for white version

* Fix comment

* Bump 'strip-gh-theme-links' action to v2

* removed assets/readme icons

* Test with 'fill=white'

* Test with 'style="fill:white"'

* added filter:invert(1) to PHP, TS, Simple Icons and Blender

* added readme-icons test, changed the name of light icons in assets/readme

* reloaded icons in Readme

* fixed typo in iconsPath for readme-icons test

* fixed typo on the darkiconsPath resolution

* restored absolute paths

* minimized the white icons on assets/readme

* restored test scripts

* Apply changes

* Disable color output testing in CI

* Revert latest change

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
Co-authored-by: Jorge Amado Soria Ramirez <darksoul.uci@gmail.com>
2022-01-09 15:04:36 -06:00
Álvaro Mondéjar
1be629bf6e
Correctly add new icon labeled pull requests to Priority 2 column (#6964) 2021-12-27 11:37:18 -08:00
Álvaro Mondéjar
ed4c29f7b6
Automatically update milestone (SVG count) in README (#6951)
* Automatically update milestone (SVG count) in README

* Use updateRange variale

* Rewrite 2 lines

* Simplify code

* Format new file

* Fix error in script

* Apply suggested changes
2021-12-09 17:02:58 -08:00
Eric Cornelissen
cfb81045db
Fix publish workflow (#6803)
* Run linters after building code in sanity check for publishing

* Prettier ignore generated files
2021-10-31 11:38:10 +01:00
Sachin Raja
dd0cc815a1
fix: wrap yes and no in quotes in issue templates (#6779) 2021-10-27 18:32:32 -07:00
Sachin Raja
aef101d726
Remove default titles from issue templates (#6775) 2021-10-26 18:38:25 +02:00
Sachin Raja
e232399271
Remove jest cache in CI (#6693)
* remove jest cache in ci

* remove jest cache from publish workflow

* remove jest config file and cache from gitignore
2021-10-26 10:59:11 +02:00
Eric Cornelissen
e0df400494
Setup prettier (#6758)
* Add prettier as a dependency

* Add format command and configure prettier

I opted for single quotes to be in line with other simple-icons projects

I ignore the data file because changing its formatting is quite a bit of
trouble for all open PRs.

* Run prettier

* Replace all functions by arrow functions

* Move prettier configuration to config file

Move it to a file so editors (and other software) can pick up on the
configuration. I went with .js because (a) it allows for comments and
(2) it seems most of the config files are in JavaScript already.

* Add prettier --check when running npm run lint (This adds it to the CI as well)

* Add husky and format changes before committing

* Use object destructuring for imports consistently

* Add shebang and fileoverview to jsonlint.js
2021-10-25 21:13:10 +02:00
renovate[bot]
20e7c258aa
Update all dependencies (#6706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-10 20:53:19 -07:00
Alexandre Paradis
b7375ec336
Detect potential duplicated issues (#4817)
* Draft: Detect potential duplicated issues

* Change threshold for 0.7

- Remove confused emoji

* Reduce exclusion list

* Fixes from review

- Add newline before `jobs`
- Remove inline documentation
- Remove reactions
- Use proper sentence

* Use `|` symbol for comments

* Fix exclusion order

* Add some exclusions
2021-10-10 08:58:35 +01:00
Eric Cornelissen
039f4f4a20
Improve release workflow (#6646)
* Use PAT to avoid version bump commit problems due to branch protections

Following the instructions of stefanzweifel/git-auto-commit-action [1]
for pushing to branches with branch protections, this changes the create
release workflow to fetch the repo with a PAT (that must belong to an
admin for this to work). As a result, when pushing the version bump
commit, the required status checks are not required (provided the rules
are not applied to admins).

---
1. https://github.com/stefanzweifel/git-auto-commit-action#push-to-protected-branches

* Add warning to not add `on: push` to create release workflow

* Enforce that create-release isn'ttriggered by push events
2021-10-07 10:41:38 +02:00
Álvaro Mondéjar
59ca5214c9
Fix error in workflow file 2021-09-29 01:10:55 +02:00
Álvaro Mondéjar
3056f5e287
Auto assign pull requests to 'Priority 2' column (#6615)
* Auto assign pull requests to 'Priority 2' column

* Update 'pr-linked-issues-action' to v2
2021-09-29 01:03:14 +02:00
Álvaro Mondéjar
9292184b91
Get labels at runtime in assign-to-project workflow (#6612) 2021-09-27 20:03:19 +02:00
Álvaro Mondéjar
40108ff5cb
Fix workflow file syntax error 2021-09-27 18:21:56 +02:00
Álvaro Mondéjar
8d2e473e39
Fix workflow file syntax error 2021-09-27 18:13:35 +02:00
Álvaro Mondéjar
68a3b70b37
Synchronize 'add-labels' and 'auto-assign-to-project' workflows (#6607) 2021-09-27 18:02:06 +02:00
Alexandre Paradis
e881930b79
Auto assign to project workflow - Take 4
* Auto assign to project workflow

* Switch to GITHUB_TOKEN
2021-09-27 16:57:34 +02:00
renovate[bot]
466b58f6fe
Update all dependencies (#6603)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 10:02:10 +02:00
Sachin Raja
231b7a4723
add removal form (#6552)
* add removal form

* use removal request label

* add description asking reporter to include links

* add breaking change label

* Update description

* search for breaking change label too

* update disclaimer links

* change to icon outdated issues

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2021-09-25 12:59:53 +02:00
Eric Cornelissen
91a9458206
Unpin kceb/git-message-action (#6482) 2021-09-05 14:55:36 -07:00
Álvaro Mondéjar
be696a0766
Disable Renovate dependency dashboard (#6441) 2021-08-30 18:26:36 +02:00
Eric Cornelissen
f9e8ecb777
Upgrade git-message-action from v1 to v1.2.0 (#6424) 2021-08-29 09:59:33 -07:00
Sachin Raja
73f6483337
Issue forms (#6303)
* create issue form for icon requests

* cleanup old issue template

* create issue form for icon updates

* create package and documentation forms

* fix: description strings

* remove "render" from textarea

* add additional comments section to icon request/update form

* fix: grammar

* fix: more grammar

* feat: default issue titles

* move contributing guidelines to top, make resources required

* fix contributing guidelines link

* remove unnecessary queustion from documentation form

* add description for website field

* trim trailing whitespace

* fix linting errors

* add examples to additional comments description

* simplify fields to specify issue type

* update examples in documentation description

* align icon update with icon request

* fix: grammar

* align package and documentation forms

* require "Kind of issue"

* clarify kind of issue description

* better grammar in kind of issue description

* allow issue authors to specify if they would like to contribute

* use dropdown in contributing field

* update form notice for duplicate issues

link searches open issues by default

* update contributing description and make field required

* add different contributing descriptions

* add placeholders

* change "Alexa rank" to "Popularity Metric"

* change "insufficient" to "too low"

* add backticks around hex color in placeholder

* reword license question

* convert popularity metric to textarea

* update all descriptions

* no more inline links

* fix links

* remove trailing whitespace

* proper newline

* proper newline 2

* capitalize options

* capitalize options

* add to additional comments description

* fix icon request resources description

* fix sentences structure

* consistent wording - "docs," not "documentation"

* remove contributing field from package form

* separate inputs for version information

* better wording for software input

* fix link formatting

* more link formatting

* update additional comments description

* align resources description across forms

* remove unnecessary questions from icon update description

* format

* fix icon request links

* add version to chrome example in placeholder

* change Simple Icons to Package in label

* consistent "None" across forms

* consistent "None" across forms

* consistent additional comments field

* improve wording in version description

* fix wording in icon request popularity metric description

* minor placeholder updates

* fix "this issue concerns..." label

* add improvement option to package form

* add performance option

* consistency

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2021-08-25 22:22:30 +02:00
LitoMore
8283daf05a
Drop package-lock.json (#6179)
* Drop `package-lock.json`

* Drop lockfile related code

* Drop lockfile maintenance configurations
2021-08-23 19:21:03 +02:00
Jan N Rose
5fc74c67f3
Remove executable flag from file mode (#6185)
* Remove executable flag from file mode

Affected: dgraph, django, homebrew, pagekit, uikit

* Add lint step to CI to reject executable icons

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2021-08-04 10:23:20 +02:00
Eric Cornelissen
2c11b6fc98
Fix the release body of GitHub releases created by publish.yml (#6071) 2021-07-03 11:34:48 +02:00
Eric Cornelissen
a95ad430a3
Improve CI config: caching & refactoring (#5912)
* Set up caching jest cache for tests in CI

Use actions/cache to cache the jest cache between runs. The cache will
be invalided if the package-lock.json file is updated OR after 7
days [1]. The cache directory for jest is now also configured to be in a
directory called ".jestcache" at the root of this project. This
directory will be ignored by git due to its addition to the .gitignore.

--
1. https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy

* Trigger jest cache in CI

* Include date in cache key

This way the cache is invalidated very day

* Add name for caching Jest's cache step

* Demonstrate test failure with cache enabled

* Revert ff915d466075d5292c7b5772406ff62fe1a3e220

* Cache dependencies

* Update Jest cache configuration

* Refactor and use Jest cache in Publish workfow

- Refactor out the duplicated sanity check in the publish workflow into
  a separate, depended upon, job.
- Use the Jest cache in the Publish workflow.

* Update linter job in CI to just run `npm run lint`

... whereas previously it ran each linter separately. This avoids having
to update the workflow file if a new linter is added (or a linter is
removed).

* Use run_number instead of date for jest cache in CI

* Simplify GitHub release publish job
2021-06-29 12:07:50 +02:00
Raymond Nook
18789ef9e6
Update create-release.yml (#6012) 2021-06-24 12:14:49 +02:00
Eric Cornelissen
2d819e57d5 Add workflow_dispatch to Create Release Pull Request workflow
Add the `workflow_dispatch` trigger to the Create Release Pull Request
workflow. This will allow us to more easily trigger the release Pull
Request if either 1) the scheduled run failed for whatever reason or 2)
an extra release is needed as per the DISCLAIMER.md.

You can read more about `workflow_dispatch` in the GitHub docs at:
https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
2021-06-15 23:50:14 +02:00
Eric Cornelissen
6577913ec3
Add issue templated for docs and update existing issue templates (#5676)
* Add issue template for documentation

* Add missing space to the "Icon request" template's description

* Update issue template descriptios
2021-05-31 19:13:05 +02:00
Eric Cornelissen
c368b14e62
Remove (old) website source files (#5553)
* Remove files directly related to the website

Remove all the files directly related to the Jekyll-based website in
this repository. This includes the HTML, CSS and JS for the website, the
assets that can be found in the images/ folder, Jekyll-related files
(_config.yml, Gemfile, Gemfile.lock) and the CNAME file.

* Remove website-related configurations

Remove website-related files from ignore files, update the EditorConfig
configuration to remove any mention of website files, and update
.gitattributes to omit removed files.

* Update issue templates

Remove the issue templates for issues regarding the website and replace
it with a issue templates configuration file [1] that provides a link to
a the equivalent issue template in the simple-icons-website repository.

--
1. https://docs.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository


* Remove building website from verify workflow

* Remove mentions of website from Contributing Guidelines

* Remove mention of GitPod

I believe the main advantage of GitPod was that it allows you to preview
a contribution in the context of the website. Now that the website is no
longer in the repository this is not a thing anymore (unless someone
can configure GitPod to pull in the website from its repo), so I removed
any mention of it.

I'm open to reverting this change if contributors still want to use
GitPod.

* Add CI job for building the NodeJS package
2021-05-29 18:00:40 +02:00
Eric Cornelissen
153a029c25
Restructure the scripts/ directory (#5546)
* Restructure scripts/ directory

And update references to this scripts everywhere.

* Update names of file-level constants in bump-version.js

* Normalize quotes between all scripts

* Move "create-release.yml" scripts to scripts/release

* Move slugs table script to scripts/release

* Update relative path logic in update-slugs-table.js
2021-05-07 19:55:06 +02:00
Eric Cornelissen
e049e1d5a5
Auto update CDN URLs in README.md in release PR (#5545)
* Add script to bump major version in README

On lines 29-32, we could alternatively use `replaceAll`, I opted not to
as it is not yet(?) part of an LTS release of NodeJS.

* Bump CDN version in README automatically for new releases

* Rename "bump-cdn-version.js" to "update-cdn-urls.js"

* Update names of file-level constants in update-cdn-urls.js

* Rename workflow setp for updating CDN URLs

* Rename packageJsonFile constant in update-cdn-urls

* Remove semver dependency

* Generalize update-cdn-urls script
2021-05-05 23:29:49 +02:00
renovate[bot]
92a049441b
Update all dependencies (#5595) 2021-05-05 11:35:03 +01:00
renovate[bot]
8678c94ee1
Update all dependencies (#5484)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 19:41:01 +02:00
Adam Rusted
d2c4d0d7f5
Add Funding Option (#5149) 2021-04-15 17:26:41 +01:00