Commit Graph

49 Commits

Author SHA1 Message Date
Rick Staa
2bd9d457ac
ci: fix theme docs generate bug (#2573) 2023-03-09 15:15:50 +05:30
Rick Staa
b93aee34d0
ci: improve theme preview action (#2572) 2023-03-06 09:33:06 +05:30
Rick Staa
ed18914fa4
ci: fixes theme preview action (#2566) 2023-03-05 15:52:08 +05:30
Rick Staa
1e61f9f3fe
fix theme preview (#2564)
* ci: fix theme preview action

* fix: fix some bugs in the 'theme-preveiw' action
2023-03-03 20:27:11 +05:30
Rick Staa
976771080f
ci: fix theme preview action (#2563) 2023-03-03 13:37:02 +05:30
Zohan Subhash
7bc8f19a7f
Preview action fix (#2561)
* Fix error

* refactor: remove unused code

---------

Co-authored-by: Rick Staa <rick.staa@outlook.com>
2023-03-02 18:21:39 +01:00
Zohan Subhash
a1c3c6accc
ci: preview theme workflow fix (#2559)
* Fix octokit error

* ci: make octokit instance global

* Fix preview theme (move declarations to global)

* refactor: make constants uppercase

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-03-01 16:51:25 +01:00
Zohan Subhash
8849b5f5fc
Preview theme workflow fix (#2557)
* Fix octokit error

* ci: make octokit instance global

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-03-01 15:03:49 +05:30
Rick Staa
d5fbfb4345
ci: fix a bug in the theme preview action (#2549) 2023-02-25 19:44:47 +05:30
Rick Staa
ab9c563ec5
Revert "Revert "ci: fix theme readme generation action (#2271)" (#2394)" (#2418)
This reverts commit 70f0264905.
2023-01-16 12:21:13 +01:00
Rick Staa
70f0264905
Revert "ci: fix theme readme generation action (#2271)" (#2394)
This reverts commit 5ae959b57c.
2023-01-12 22:48:28 +01:00
Rick Staa
5ae959b57c
ci: fix theme readme generation action (#2271) 2023-01-10 12:25:06 +00:00
Rick Staa
1a4e5a6955 ci: update theme stale close message 2022-11-18 11:06:24 +01:00
Rick Staa
56aa307094 ci: update theme stale close message 2022-11-18 11:05:10 +01:00
Frieder Bluemle
199870aa9f
refactor: fix GitHub capitalization (#2232) 2022-10-26 16:41:59 +02:00
Rick Staa
dcc4ccd18c
ci: increase invalid theme close time (#2210)
This commits increases the theme invalid close time to 20 days.
2022-10-18 17:15:25 +02:00
Rick Staa
1d10912646
ci: fix stale closer action review sort bug (#2201)
This commit makes sure the PR staleness is checked by the latest review that
is done.
2022-10-16 12:18:21 +02:00
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