Commit Graph

59 Commits

Author SHA1 Message Date
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
Peter Noble
6a920543a7
Update Preview Generator URL in PR Template (#5430) 2021-04-11 12:14:55 +02:00
Eric Cornelissen
d96126dca3
Update workflow names (#5421)
* Update workflow names

Most importantly gives unique names to `create-release.yml` and
`merge-release.yml`.

Other than that, this attempts to improve and unify the names of all
workflows.

* Update release workflow names

Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>

Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2021-04-07 20:15:11 -04:00
Eric Cornelissen
e35244300b
Delete auto-assign-to-project.yml 2021-03-30 12:30:20 +02:00
Alexandre Paradis
837396d71b
Auto assign to project workflow (#5198) 2021-03-30 10:19:13 +01:00
renovate[bot]
5752c8d755
Update all dependencies (#5199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-08 09:34:23 +01:00
Eric Cornelissen
52a0c5b07b
Document slugs of brands (#5002) 2021-03-03 10:57:33 +00:00
Eric Cornelissen
ef00aa292c Revert RELEASE_BODY to original
from c21487f4d1, but with double quotes.
2021-02-08 22:22:08 +01:00
Eric Cornelissen
7181ea0b31 Revert 008d289f69
See also:
- bfe305f6c4
- https://github.com/simple-icons/simple-icons/pull/4418
2021-01-26 14:37:54 +01:00
Alexandre Paradis
008d289f69
Auto assign to project workflow (#4863)
* Auto assign to project workflow

* Remove redundant newline

* Update indentation in auto-assign-to-project.yml

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2021-01-26 14:25:28 +01:00
Álvaro Mondéjar
bc8ee013ed Use double quotes escaping release data in 'Publish' workflow 2021-01-24 23:01:41 +01:00
Álvaro Mondéjar
576a7fe135 Revert partially commands in 'Publish' workflow 2021-01-24 13:34:55 +01:00
Eric Cornelissen
46ff9685ef
Add "Publish" job for automated website updates (#4787) 2021-01-18 13:18:02 +01:00
Álvaro Mondéjar
70ead50f27 Replace 'echo' by 'printf' commands in Publish workflow 2021-01-17 15:36:56 +01:00
Eric Cornelissen
a4ca74602f
Minor improvements (#4708)
* Remove .travis.yml reference from .gitattributes

* Minor refactoring of .svglintrc.js

- Remove unused variables
- Fix missing semi-colons
- Remove unneeded indentation

* Prevent error in clean command due to missing files

* Fix indentations

* Further improvements to Editorconfig and indentation

* Format YAML files

- Update indentation for array notation
- Normalize use of newlines
2021-01-15 21:47:00 +01:00
Álvaro Mondéjar
9817cc04c7
Escape 'Get commit message' step output in 'Publish' workflow (#4707)
* Escape 'Get commit message' step output in 'Publish' workflow
2021-01-11 16:47:29 +01:00
Peter Noble
9e09db7324
Change "Name" to "Brand Name" in Issue Templates (#4682) 2021-01-08 08:44:42 -05:00
Eric Cornelissen
d56a3d95c9
Add remote trigger for simple-icons-font to publishing workflow (#4533)
* Add "Publish" job for automated font releases

* Ensure NPM release before triggering simple-icons-font
2021-01-01 19:29:47 +01:00
Eric Cornelissen
bfe305f6c4
Delete auto-assign-to-project.yml 2020-12-27 13:18:57 +01:00
Alexandre Paradis
08e218e6dd
Auto Assign PRs to priorisation project (#4418)
* Auto Assign PRs to priorisation project

* Fix from @mondeja review

* hyphen for job name

* Update token name
2020-12-23 22:10:40 +01:00
Álvaro Mondéjar
740dfba419
Formalize website Ruby dependencies and installation process (#4416)
* Formalize website Ruby dependencies and installation process

* Improve Contributing Guidelines

* Add Gemfile.lock to .gitattributes

* Use 'ruby/setup-ruby' caching strategy

* Add link to documentation of 'bundler-cache'
2020-12-22 21:11:57 +01:00
renovate[bot]
45d5687094
Update all dependencies (#4420)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-21 13:55:32 +01:00
Álvaro Mondéjar
6379ae7022
Synchronize workflow with 'simple-icons-font' repo (#4408) 2020-12-20 12:43:16 +01:00
Álvaro Mondéjar
ee4e8e820b
Add workflow to remove outdated labels (#4366)
* Add workflow to remove outdated labels

* Use 'pull_request_target' event instead of 'pull_request'

* Remove 'pull_request_target' event comment

* Add 'pending' label to closed pulls
2020-12-16 20:59:24 +01:00
Eric Cornelissen
f2dc528780 Fix repo-token in create-release.yml 2020-12-14 16:22:02 +01:00
Eric Cornelissen
92d2a3e678
Split release workflow into two workflows (#4348)
* Split release workflow into two

Split the release workflow - which so far created and helped merging
release PRs - into a workflow for reating the release PR and one for
helping to merge it.

* Simplify merge-release.yml if-condition
2020-12-14 14:06:01 +01:00
Eric Cornelissen
c7221a0797
Use Personal Access token in release.yml (#4211)
Update release.yml, which is the workflow that creates release PRs and
merges them when approved, to use a Personal Access Token instead of
the standard GITHUB_TOKEN. I choose to name it RELEASE_TOKEN.

This change ensures that GitHub Actions workflows are triggered when
an action is performed by the Automated releases workflow. This is
needed because the publishing to NPM and the creation of a new GitHub
release should happen when there is a commit on `master`. If the release
PR is merged by the workflow using GITHUB_TOKEN, no GitHub Actions
workflows would be triggered.

Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2020-12-02 12:19:05 +01:00
Álvaro Mondéjar
35c54c4efc
Update setup Ruby step in build job of verification workflow (#4213)
* Update setup ruby step in build job of verify workflow

* Update Ruby version in step name
2020-12-02 12:02:17 +01:00
Eric Cornelissen
c21487f4d1
Switch from Travis CI to GitHub Actions (#4126)
* Add GitHub Actions workflow for verification

Add a GitHub Actions workflow file that does the verification of pushes
and pull requests. I.e., it runs the linters, runs the tests, and builds
the website. This workflow runs for all `pull_requests` and `push`es.

* Add GitHub Actions workflow for deployment

Add a GitHub Actions workflow file that does the deployment upon pushes
to master. Before actually deploying, the linters and test are ran, just
in case.

* Remove Travis CI configuration file

* Remove unnecessary quotes from existing workflows

* Add caching for "Build website" verification

* Update build badge in README

Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2020-11-28 11:34:36 +01:00
Álvaro Mondéjar
9f4a056e14
Skip release job for pull request review if pull request not contains 'release' label. (#4125) 2020-11-24 20:26:48 +01:00
Eric Cornelissen
add3c5df70
Update labeler.yml (#3867)
Run labeler action only when a Pull Request is opened.
2020-11-16 10:36:58 +01:00
Eric Cornelissen
79a5a08dc2
Set up automated labeling (#3724) 2020-10-15 14:10:07 +02:00
Eric Cornelisesn
8b3b7a09aa Reduce number of PR review GH Actions runs 2020-07-14 21:09:04 +03:00
Peter Noble
af4024cc4c
Add Alexa ranks to GitHub Templates (#3207)
* Add Alexa ranks to GitHub Templates

* Add trailing newline to icon_request.md

* Remove excess space from icon_request.md

* Updates from review

* Remove choice between issue & rank

* Fix typo in issue template

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* Improve wording in issue template and close last comment

Co-authored-by: Lucas Becker <runxel@users.noreply.github.com>
Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2020-06-22 18:31:12 +03:00
Eric Cornelisesn
eb6c199f4e Run release action on PR reviews 2020-06-16 21:49:44 +03:00
Eric Cornelisesn
073688160b Set up automated releases with GitHub Actions 2020-04-24 14:54:23 +03:00
Peter Noble
dfbd2d2719
Add Note on Previews to PR Template (#2692)
* Add Note on Previews to PR Template

* Update PR template

Co-Authored-By: Eric Cornelissen <ericornelissen@gmail.com>

* Update PR template

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2020-03-03 12:03:32 +01:00