Commit Graph

30 Commits

Author SHA1 Message Date
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
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 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
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
Preffet 3430a2944f Fixed a small grammatical mistake / typo (#1874)
does not passes -> does not pass
2022-07-19 21:03:58 +02:00
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
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