Commit Graph

56 Commits

Author SHA1 Message Date
Rick Staa
b7928aae24
build: rename lint command (#2909)
This commit renames the eslint npm command so that it is consistent with
the naming used for the other commands.
2023-07-05 01:08:59 +03:00
Alexandr Garbuzov
6c92fe9d2a
Eslint integration (#2885)
* eslint integration

* ci & pre commit

* dev

* dev

* dev
2023-07-03 08:54:19 +02:00
Rick Staa
de4efa9ea1
ci: fix id-token 'read' bug (#2904)
This commit fixes a bug that is present when the `read` option is used
for the `id-token` permission (see https://github.com/github/docs/issues/26481).
2023-07-03 00:07:29 +03:00
Alexandr Garbuzov
888c4cee94
CI: Resolve OSSF GitHub token permissions security alert (#2891) 2023-07-02 09:06:04 +02:00
Alexandr Garbuzov
e2fa7ad423
CI: Add OSSF scorecard analysis workflow (#2879)
* CI: Add OSSF scorecard analysis workflow

* dev

* dev

* dev

* replace action versions with hashes

* readme badge
2023-06-26 15:27:54 +03:00
Rick Staa
22a12e1ade
ci: increase top-issues-action list size (#2826) 2023-06-15 23:28:19 +03:00
Alexandr Garbuzov
c4035a5765
Use node 18.x in continuous integration (#2819) 2023-06-14 09:08:40 +02:00
Rick Staa
fec686a432
ci: fix top-issues action (#2803) 2023-06-11 03:20:08 +03:00
Rick Staa
cec5ee3462
ci: add top themes and labels to 'top issues dashboard' action (#2711) 2023-06-06 14:24:17 +05:30
Alexandr Garbuzov
d306bec73e
Add PRs cache cleaning workflow (#2661) 2023-05-05 14:09:23 +00:00
Alexandr Garbuzov
c656f3df6b
Update codecov action version to resolve github action deprecation warning (#2677) 2023-05-05 14:07:37 +00:00
Rick Staa
91345ed55f
ci: fix unsafe directory bug (#2518)
This commit fixes a bug that was introduced due to a upstream change in
the git package. See https://stackoverflow.com/questions/71849415/i-cannot-add-the-parent-directory-to-safe-directory-in-git/71904131#71904131
for more information.
2023-02-25 17:21:54 +05:30
Rick Staa
112000667c
ci: add update languages action (#2484)
* ci: add update languages action

* ci: make sure PR is created when upstream languages are updated
2023-01-29 15:19:01 +01:00
Rick Staa
99d9d3cde0
ci: prevent certain actions from running on forks (#2466) 2023-01-25 09:20:36 +01:00
Zohan Subhash
b2bf4fa487
fix: change prod deployment branch to vercel branch to fix maxDuration bug (#2424)
* Create deploy-prep.yml

* Create deploy-prep.py

* Update vercel.json

* Update deploy-prep.yml

* Update vercel.json

* Added coauthor

Co-authored-by: Dou Xiaobo <93511091+douxiaobo@users.noreply.github.com>

* Update deploy-prep.yml

* refactor: format code

* Added if condition to disable deployments on forks

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* Update deploy-prep.yml

Co-authored-by: Dou Xiaobo <93511091+douxiaobo@users.noreply.github.com>
Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-01-24 20:04:26 +05:30
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
rickstaa
6f8bd9fe10
ci: increase top-issues dashboard update frequency 2022-10-02 14:15:25 +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
Oscar Dominguez
098331069a
ci(label-pr): upgrade actions/labeler to v4 (#2080)
Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-02 10:51:37 +02:00
Jongwoo Han
f86059f097
chore: Update workflows to cache dependencies (#2083) 2022-10-02 10:38:07 +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
Rick Staa
f8e32f9e0c
ci: add e2e vercel test action (#2054)
* ci: add e2e vercel test action

This commit adds several end-to-end tests that can be used
to test whether the Vercel Preview deployment successfully
returns the cards.

* test: add additional e2e card tests

* test: improve e2e card tests

This commit makes sure that the tests also check whether a valid cards
are returned from the preview deployment.
2022-10-01 13:59:02 +02:00
rickstaa
fe1ca87e33
ci: filter #1772 from top-issues-dashboard 2022-09-25 11:16:37 +02:00
Rick Staa
c7d4c29757
ci: switch to npm ci in github actions (#2046) 2022-09-24 10:37:24 +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
Rick Staa
40735124ed
ci: change theme-preview action run condition (#1903)
This commit makes sure that the theme-preview action only runs when a
theme was added or changed.
2022-09-17 13:42:16 +02:00
rickstaa
dc8852dd6b
refactor: change formatting command 2022-09-16 12:55:35 +02:00
Rick Staa
192170c111
ci: add empty issues closer action (#2004)
Co-authored-by: Prashubh Atri <prashubh27@gmail.com>

Co-authored-by: Prashubh Atri <prashubh27@gmail.com>
2022-09-06 10:00:21 +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
Rick Staa
579cb7d175 Merge branch 'master' of https://github.com/anuraghazra/github-readme-stats 2022-08-25 20:06:50 +02:00
Rick Staa
84610521a2 ci: add top-issues-action argument 2022-08-25 20:06:45 +02:00
Rick Staa
c2c07ea022
ci: fix top-issues-action syntax (#1978) 2022-08-25 19:45:11 +02:00
Rick Staa
e9c55d90ad ci: fix title of top-issues action 2022-08-18 11:32:57 +02:00
Rick Staa
663fbae49a ci: add top-issues-dashboard action
This commit adds the top issues dashboard action which creates a issue displaying the top issues of the week.
2022-08-18 11:31:45 +02:00
Rick Staa
a68abbb9b3
Revert "fix: prevent npm dependency error (#1849)" (#1850)
This reverts commit 8d95796890.
2022-07-06 15:16:10 +02:00
Rick Staa
8d95796890
fix: prevent npm dependency error (#1849)
This commit fixes an npm dependency error that caused the test action to
fail.
2022-07-06 15:08:20 +02:00
Anurag
77d016f648 chore: remove edit event from action 2021-11-06 20:28:39 +05:30
Anurag
7eade85f18 chore: update github action trigger 2021-11-06 20:17:14 +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
300ee853e7 chore: remove action cache 2021-10-13 20:52:35 +05:30
Anurag
596a4eccc1 Revert "ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#1382)"
This reverts commit 2723f00cb8.
2021-10-13 20:39:13 +05:30
Oscar Dominguez
2723f00cb8
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#1382) 2021-10-13 20:31:39 +05:30
Anurag Hazra
dff732adf5
chore(workflow): useLockFile false 2021-01-10 14:11:21 +05:30
Anurag Hazra
f3e5b685ec
fix: theme workflow (#800)
* chore: test

* chore: revert theme workflow

* chore: workflow fix
2021-01-10 14:06:02 +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
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
4c43bdbfa2 infra: fix preview-theme 2020-08-10 19:46:17 +05:30
anuraghazra
6cfe47130a infra: fixed workflow event 2020-08-09 21:09:12 +05:30
anuraghazra
f4cbac043c infra: added auto labeler for prs 2020-08-08 21:14:06 +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