Commit Graph

32 Commits

Author SHA1 Message Date
rickstaa
bcb8ae9281
style: improve small syntax error 2022-10-07 11:13:01 +02:00
rickstaa
04595dfe62
style: improve formatting 2022-10-07 11:10:48 +02:00
rickstaa
cea4a39548
ci: improve theme preview action
This commit makes sure that theme PRs that contain invalid JSON are
labeled `invalid` and changes are requested.
2022-10-07 11:09:34 +02:00
rickstaa
5d42af59c0
ci: fix small bug in theme-preview action 2022-10-02 17:42:58 +02:00
Rick Staa
822efbf6cb
ci: fix small bugs in theme-preview action (#2093)
* ci: fix small bugs in theme-preview action

* ci: format code
2022-10-02 17:41:28 +02:00
Rick Staa
d56b294ca1
style: improve code style 2022-10-02 14:50:03 +02:00
Rick Staa
b8faef6857
ci: add stale theme pull request closer action push (#2067)
This commit adds the `stale-theme-pr-closer` closer action. This action
is used to close theme pull requests with an `invalid` label that has
been stale for a given number of `STALE_DAYS`.
2022-10-02 11:05:13 +02:00
Rick Staa
d5d8912954
ci: improve theme preview action (#2088)
This commit makes sure that 4,5,6,8 digit hex colors are also accepted.
It further also includes the border_color attribute in the tests.
2022-10-02 10:33:29 +02:00
Rick Staa
6b7e91abb6
ci: improve theme-preview actiot push (#2065)
This commit makes sure that:
 - The theme-preview action can test multiple themes.
 - Fails if something goes wrong.
 - Requests changes if the theme does not adhere to the guidelines.
 - Approves the PR if the theme adheres to the guidelines.
2022-10-01 14:01:29 +02:00
rickstaa
0de23d3762
fix: fix generate-theme-doc bug 2022-09-24 10:33:19 +02:00
rsk2
107f7ca52c
Feature/grs 1955 change commonjs imports (#1995)
* GRS-1955: Using ES6 import/export in src files

* GRS-1955: Using ES6 import/export in test files

* GRS-1955: Using ES6 import/export in themes index.js

* GRS-1955: Readding blank line at end of top-languages-card.js

* feat: fix test es6 import errors

This commit makes sure jest is set-up to support es6. It also fixes
several test errors and sorts the imports.

* test: update test node version

This commit makes sure node 16 is used in the github actions.

* refactor: run prettier

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-09-24 10:20:54 +02:00
Steven
4c2307ab4b
Add prettier check to CI (#1999)
* Add prettier check to CI

* Run prettier:format
2022-09-06 09:09:45 +02:00
Preffet
3430a2944f
Fixed a small grammatical mistake / typo (#1874)
does not passes -> does not pass
2022-07-19 21:03:58 +02:00
Davoleo
de80488f17
feat: added script to automate language color retrieval (#1654) 2022-03-19 14:26:50 +05:30
Anurag Hazra
563dc7c898
feat(theme-preview): added ability to upsert comments (#1442)
* chore: added ability upsert comments

* chore: new event
2021-11-06 20:05:35 +05:30
Anurag Hazra
42e9b78db0
feat(script): improved theme preview script (#1439)
* feat: improved theme preview script

* chore: add getPRNumber
2021-11-05 21:01:46 +05:30
CleanMachine1
7d1c9b0b96
chore: fix grammatical errors in the scripts (#1346)
* Fix grammatical errors

* Fix grammatical errors
2021-10-02 01:44:10 +05:30
Anurag Hazra
b9230cd946
chore: update theme preview bot content (#1326) 2021-09-26 21:16:20 +05:30
Alexandr
15afa65889
docs: documentation updates (#841)
* change github to GitHub in all other places

* dev
2021-01-29 22:25:44 +05:30
Anurag Hazra
120b9299b5
chore: improved bot preview (#798)
* chore: added theme contribution guidelines in theme preview bot

* chore: test

* chore: format theme.js

* chore: test

* chore: fix indent

* chore: use npm-install workflow

* chore: compact color codes

* chore: remove theme
2021-01-10 13:38:11 +05:30
Anurag Hazra
3c7ba212b3
chore: added theme contribution guidelines in theme preview bot (#797)
* chore: added theme contribution guidelines in theme preview bot

* chore: test

* chore: format theme.js
2021-01-10 13:16:01 +05:30
Bas950
8aea1e3c35
feat: added repo card hide border option (#488)
* 🚀 Prettier config

* 🚀 hide_border for Repo Card

* fix: wrong total commits (#490)

* chore: run prettier on all files

* chore: lol lets add the trailing commas

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2020-09-24 21:38:14 +05:30
anuraghazra
2ea2ed9805 infra: theme preview script updates 2020-08-14 21:27:45 +05:30
anuraghazra
e980388867 infra: improved theme preview script markdown 2020-08-14 21:01:33 +05:30
anuraghazra
aca48e97ce infra: prevent failing on preview-theme script 2020-08-14 20:55:54 +05:30
Anurag Hazra
792e5a4ba7
infra: getPrNumber fix (#357) 2020-08-10 20:01:19 +05:30
Anurag Hazra
20463f6365
fix: Theme preview script (#318)
* chore: testing theme preview script

* fix: workflow

* test current pr

* comment on pr script

* fix: preview theme script

* fix: preview theme

* fix: token fix

* test: theme

* fix: conflict
2020-08-05 21:57:11 +05:30
Anurag Hazra
53c49404bf
infra: theme preview gh action (#296)
* chore: testing theme preview script

* fix: workflow

* test current pr

* comment on pr script

* fix: preview theme script

* fix: preview theme
2020-08-02 22:47:34 +05:30
Anurag Hazra
f7f8ee7ba0
docs(theme): Auto update theme readme (#232)
Co-authored-by: Github Readme Stats Bot <hazru.anurag@gmail.com>
2020-07-28 17:17:30 +05:30
anuraghazra
5076d88a34 fix: readme generation script 2020-07-27 22:22:38 +05:30
anuraghazra
ef57cc7dcf fix: readme generate script 'Add new theme' table item 2020-07-26 14:24:13 +05:30
anuraghazra
f0a0dfe51c infra: added auto theme readme generator script 2020-07-26 14:11:30 +05:30