forked from anuraghazra/github-readme-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'anuraghazra:master' into master
- Loading branch information
Showing
87 changed files
with
13,481 additions
and
1,446 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,60 @@ | ||
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. | ||
validations: | ||
required: true | ||
- 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,28 @@ | ||
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 [...] | ||
validations: | ||
required: true | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Close empty issues and templates | ||
on: | ||
issues: | ||
types: | ||
- reopened | ||
- opened | ||
- edited | ||
|
||
jobs: | ||
closeEmptyIssuesAndTemplates: | ||
name: Close empty issues | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 # NOTE: Retrieve issue templates. | ||
|
||
- name: Run empty issues closer action | ||
uses: rickstaa/empty-issues-closer-action@v1 | ||
env: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
close_comment: | ||
Closing this issue because it appears to be empty. Please update the | ||
issue for it to be reopened. | ||
open_comment: | ||
Reopening this issue because the author provided more information. | ||
check_templates: true | ||
template_close_comment: | ||
Closing this issue since the issue template was not filled in. | ||
Please provide us with more information to have this issue reopened. | ||
template_open_comment: | ||
Reopening this issue because the author provided more information. |
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: 20 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.
f40bd91
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
github-readme-stats – ./
github-readme-stats-git-master-marvinfriede.vercel.app
github-readme-stats-seven-wheat-66.vercel.app
github-readme-stats-marvinfriede.vercel.app