-
-
Notifications
You must be signed in to change notification settings - Fork 22.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into improve_boolean_parse_behavoir
- Loading branch information
Showing
74 changed files
with
12,317 additions
and
1,112 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Bug report | ||
description: Create a report to help us improve. | ||
labels: | ||
- "bug" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
:warning: PLEASE FIRST READ THE FAQ [(#1770)](https://github.com/anuraghazra/github-readme-stats/discussions/1770) AND COMMON ERROR CODES [(#1772)](https://github.com/anuraghazra/github-readme-stats/issues/1772)!!! | ||
- type: textarea | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
- type: textarea | ||
attributes: | ||
label: Expected behaviour | ||
description: | ||
A clear and concise description of what you expected to happen. | ||
- type: textarea | ||
attributes: | ||
label: Screenshots / Live demo link | ||
description: If applicable, add screenshots to help explain your problem. | ||
placeholder: Paste the github-readme-stats link as markdown image | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. | ||
- type: markdown | ||
attributes: | ||
value: | | ||
--- | ||
### FAQ (Snippet) | ||
Below are some questions that are found in the FAQ. The full FAQ can be found in [#1770](https://github.com/anuraghazra/github-readme-stats/discussions/1770). | ||
#### Q: My card displays an error | ||
**Ans:** First, check the common error codes (i.e. https://github.com/anuraghazra/github-readme-stats/issues/1772) and existing issues before creating a new one. | ||
#### Q: How to hide jupyter Notebook? | ||
**Ans:** `&hide=jupyter%20notebook`. | ||
#### Q: I could not figure out how to deploy on my own vercel instance | ||
**Ans:** Please check: | ||
- Docs: https://github.com/anuraghazra/github-readme-stats/#deploy-on-your-own-vercel-instance | ||
- YT tutorial by codeSTACKr: https://www.youtube.com/watch?v=n6d4KHSKqGk&feature=youtu.be&t=107 | ||
#### Q: Language Card is incorrect | ||
**Ans:** Please read these issues/comments before opening any issues regarding language card stats: | ||
- https://github.com/anuraghazra/github-readme-stats/issues/136#issuecomment-665164174 | ||
- https://github.com/anuraghazra/github-readme-stats/issues/136#issuecomment-665172181 | ||
#### Q: How to count private stats? | ||
**Ans:** We can only count private commits & we cannot access any other private info of any users, so it's impossible. The only way is to deploy on your own instance & use your own PAT (Personal Access Token). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Question | ||
url: https://github.com/anuraghazra/github-readme-stats/discussions | ||
about: Please ask and answer questions here. | ||
- name: Error | ||
url: https://github.com/anuraghazra/github-readme-stats/issues/1772 | ||
about: | ||
Before opening a bug report, please check the 'Common Error Codes' issue. | ||
- name: FAQ | ||
url: https://github.com/anuraghazra/github-readme-stats/discussions/1770 | ||
about: Please first check the FAQ before asking a question. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project. | ||
labels: | ||
- "enhancement" | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Is your feature request related to a problem? Please describe. | ||
description: | ||
A clear and concise description of what the problem is. Ex. I'm always | ||
frustrated when [...] | ||
- type: textarea | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
- type: textarea | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: | ||
A clear and concise description of any alternative solutions or features | ||
you've considered. | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Test Deployment | ||
on: | ||
deployment_status: | ||
|
||
jobs: | ||
e2eTests: | ||
if: | ||
github.event_name == 'deployment_status' && | ||
github.event.deployment_status.state == 'success' | ||
name: Perform 2e2 tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
env: | ||
CI: true | ||
|
||
- name: Run end-to-end tests. | ||
run: npm run test:e2e | ||
env: | ||
VERCEL_PREVIEW_URL: ${{ github.event.deployment_status.target_url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,33 @@ | ||
name: Theme preview | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
types: [opened, edited, reopened, synchronize] | ||
branches: | ||
- master | ||
- theme-preview-script | ||
paths: | ||
- "themes/index.js" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
previewTheme: | ||
name: Install & Preview | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
- uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- run: npm run preview-theme | ||
env: | ||
CI: true | ||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Close stale theme pull requests that have the 'invalid' label. | ||
on: | ||
schedule: | ||
- cron: "0 0 */7 * *" | ||
|
||
jobs: | ||
closeOldThemePrs: | ||
name: Close stale 'invalid' theme PRs | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
- uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- run: npm run close-stale-theme-prs | ||
env: | ||
STALE_DAYS: 15 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.