Commit Graph

73 Commits

Author SHA1 Message Date
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 00394cf45d docs(themes): improve compatibility message (#3362) 2023-10-14 22:34:54 +02:00
Rick Staa 4fd52e6f64 ci: fix small theme preview script typo (#3355) 2023-10-14 00:08:07 +03:00
Rick Staa 7b1b78df2f Revert "Update generate-theme-doc.js (#3308)" (#3353)
This reverts commit 28b65928d2.
2023-10-13 20:34:42 +05:30
sahilpawar01 28b65928d2 Update generate-theme-doc.js (#3308)
* Update generate-theme-doc.js

Optimize README generation code for efficiency and readability.

* fix(scripts): fix some small bugs

This commit fixes some small bugs that were still present in the script
code.

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-10-13 13:36:06 +02:00
Alexandr Garbuzov c42798b39e refactor: enable curly eslint rule (#3137) 2023-09-12 10:06:01 +02:00
Alexandr Garbuzov def5c9c997 ci: use latest octokit API inside close stale theme PRs workflow (#3213) 2023-09-11 21:57:08 +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 6dbc1f5a9e Refactor: Fixed docstrings for close stale theme PRS workflow helper functions (#2923) 2023-07-08 17:57:09 +02:00
Alexandr Garbuzov 631dfe7402 Fixed docstring for fetchOpenPRs function (#2920) 2023-07-07 14:12:48 +02:00
Alexandr Garbuzov 1726c5bb99 Fixed docstring for scripts helper function (#2913) 2023-07-05 08:32:22 +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 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