Commit graph

52 commits

Author SHA1 Message Date
dependabot[bot]
e559268be4
build(deps-dev): bump eslint from 8.57.0 to 9.8.0 (#3878)
* build(deps-dev): bump eslint from 8.57.0 to 9.8.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.8.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* migrate on latest eslint config

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-08-12 20:19:17 +03:00
Alexandr Garbuzov
0691084c39
ci(preview theme): allow gradient colors (2) (#3427) 2023-10-26 20:00:55 +02:00
Alexandr Garbuzov
f8aa2db39d
ci(theme preview): allow gradient themes (#3400) 2023-10-23 11:22:18 +02:00
Alexandr Garbuzov
33beba58b3
ci(theme preview): add one theme per pull request rule (#3395) 2023-10-21 21:21:34 +03:00
Alexandr Garbuzov
8278980d25
infra: enable no-negated-condition eslint rule (#3283)
* infra: enable no-negated-condition eslint rule

* dev

* dev
2023-10-15 21:38:32 +03:00
Alexandr Garbuzov
c42798b39e
refactor: enable curly eslint rule (#3137) 2023-09-12 10:06:01 +02:00
Alexandr Garbuzov
70201d6892
ci(themes-preview): add themes PRs positive feedback requirement (#3180)
* ci(themes-preview): add themes PRs positive feedback requirement

* dev
2023-09-03 11:24:48 +02:00
Alexandr Garbuzov
7b3cc85d32
refactor: add missing jsdoc for IncorrectJsonFormatError constructor (#3154) 2023-08-28 09:17:19 +02:00
Alexandr Garbuzov
135176f073
Enable consistent return eslint rule (#3065) 2023-08-12 08:11:12 +02:00
Alexandr Garbuzov
2d3b4de24c
CI: Fix theme preview workflow (Attempt 2) (#3034) 2023-08-02 08:59:04 +02:00
Alexandr Garbuzov
cc47d8939d
CI: Fix theme preview workflow (#3017) 2023-08-01 05:06:55 +03:00
Rick Staa
b0b125ef03
docs: fix broken admonitions (#2957)
* docs: fix broken admonitions

This commit ensures that the admonitions are in line with the new GFM
specifications (see
https://github.com/orgs/community/discussions/16925#discussioncomment-6506860).

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-07-23 21:16:41 +03:00
dependabot[bot]
0173e13e39
Build(deps-dev): Bump prettier from 2.7.1 to 3.0.0 (#2967)
* Build(deps-dev): Bump prettier from 2.7.1 to 3.0.0

Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 3.0.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...3.0.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* dev

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-07-23 21:12:09 +03:00
Alexandr Garbuzov
ebbadef5f6
Refactor: Fixed docstrings for preview theme workflow helper functions (#2924) 2023-07-09 10:19:44 +02:00
Alexandr Garbuzov
ee978f332b
CI: Fix warnings variable usage inside theme preview workflow (#2886) 2023-06-27 13:19:26 +02:00
Alexandr Garbuzov
eebaa44f2a
CI: Add missing bracket inside theme preview workflow warning (#2847) 2023-06-18 00:04:35 +02:00
Alexandr Garbuzov
faf0c25b90
Update automated themes preview workflow contributions guideline (#2808)
* Update automated themes preview workflow contributions guideline

* docs: link to top-issues dashboard

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-11 15:21:58 +02:00
Alexandr Garbuzov
a82a617a37
Fixed several typos inside preview theme script (#2650) 2023-04-28 09:51:54 +02:00
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
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