Commit graph

40 commits

Author SHA1 Message Date
LitoMore 6d26eddf75
Apply bot token to release-action 2024-03-31 16:51:05 +08:00
LitoMore 8091607703
Use simple-icons[bot] for actions (#10726) 2024-03-28 22:31:27 +01:00
LitoMore 82e1375fc6
Replace commit user to simple-icons[bot] (#10705) 2024-03-26 22:58:59 +01:00
LitoMore bf69b6dee0
Add XO linter (#10643) 2024-03-24 18:38:18 +01:00
Álvaro Mondéjar 4056a3e9bb
Improve CI installation commands (#10653) 2024-03-18 22:27:08 +01:00
Álvaro Mondéjar 6dca3fb56b
Update actions in CI (#10600) 2024-03-09 17:28:21 +01:00
LitoMore 4779d7f93b
Use v1 version for simple-icons/release-action 2024-01-29 08:51:23 +01:00
LitoMore abad53b070
Use original release action (#10200) 2024-01-03 07:32:32 +01:00
renovate[bot] 043e3762fc
Update all dependencies (#9697)
* Update all dependencies

* Apply format to file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
2023-10-13 01:28:34 +02:00
LitoMore 0b7156e73d
Bump actions/checkout@4 on CI (#9610) 2023-09-22 07:03:01 +01:00
LitoMore dcb49dcff2
Use Node.js v20 on CI (#9571) 2023-09-17 22:56:03 +02:00
LitoMore 4036f7e76e
Bump latest release action (#9393) 2023-08-23 20:28:52 +01:00
LitoMore 0d2c7e7719
Allow skipping release note with skip release note label (#9375) 2023-08-22 17:44:51 +01:00
Álvaro Mondéjar 3588f61183
Autogenerate SDK TypeScript definitions on releases (#9186) 2023-08-01 20:09:47 +02:00
Álvaro Mondéjar 32c1611c8e
Drop bump-version script (#9188) 2023-08-01 20:06:45 +02:00
LitoMore d180406b91
Bump create-release fixes (#8790) 2023-06-12 04:27:41 +02:00
LitoMore 2778ba89b7
Allow trigger create-release by workflow_dispatch event (#8788) 2023-06-12 04:16:42 +02:00
LitoMore 731386b408
Fix release action (#8776)
* Fix release action

* Fix typo
2023-06-12 03:50:52 +02:00
renovate[bot] 2753dc3b87
Update all dependencies (#8130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 03:13:27 +01:00
renovate[bot] a63fbf93bd
Update all dependencies (#8034)
* Update all dependencies

* Update svgo.config.js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2022-11-24 14:39:11 +01:00
Álvaro Mondéjar 128728769b
Pin release-action version to a previous hash (#7439) 2022-05-22 14:12:21 +02:00
Álvaro Mondéjar 0935b98d6b
Specify release action version with tag (#7406) 2022-05-11 12:35:59 +02:00
renovate[bot] 4f8cc1ce4a
Update all dependencies (#7397)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 13:17:22 +02: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 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 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
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
renovate[bot] 466b58f6fe
Update all dependencies (#6603)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 10:02:10 +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 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
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 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
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