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 pull request #4 from anuraghazra/master
[pull] master from anuraghazra:master
- Loading branch information
Showing
7 changed files
with
113 additions
and
11 deletions.
There are no files selected for viewing
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,44 @@ | ||
name: Update supported languages | ||
on: | ||
schedule: | ||
- cron: "0 0 */30 * *" | ||
|
||
jobs: | ||
updateLanguages: | ||
if: github.repository == 'anuraghazra/github-readme-stats' | ||
name: Update supported languages | ||
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 update-languages-json.js script | ||
run: npm run generate-langs-json | ||
|
||
- name: Create Pull Request if upstream language file is changed | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
commit-message: "refactor: update languages JSON" | ||
branch: "update_langs/patch" | ||
delete-branch: true | ||
title: Update languages JSON | ||
body: | ||
"The | ||
[update-langs](https://github.com/anuraghazra/github-readme-stats/actions/workflows/update-langs.yaml) | ||
action found new/updated languages in the [upstream languages JSON | ||
file](https://raw.githubusercontent.com/github/linguist/master/lib/linguist/languages.yml)." | ||
labels: "ci, lang-card" |
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
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
0c5295c
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-stats-usnljbqswy.vercel.app
github-readme-stats-git-master-renzynx.vercel.app
github-readme-stats-renzynx.vercel.app