1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +02:00
Commit Graph

73 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
Á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
7bea1d073b
Update remove-labels-gh-action version (#7202) 2022-03-08 12:11:12 +01: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
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
Eric Cornelissen
91a9458206
Unpin kceb/git-message-action (#6482) 2021-09-05 14:55:36 -07:00
Eric Cornelissen
f9e8ecb777
Upgrade git-message-action from v1 to v1.2.0 (#6424) 2021-08-29 09:59:33 -07: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 ff915d4660

* 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
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
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