/
githubmirror
/
github-readme-stats
Обзор
Документация
Войти
/
githubmirror
/
github-readme-stats
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/update-langs.yml
67 строк
2 KB
dependabot[bot]
ci(deps): Bump peter-evans/create-pull-request from 7.0.9 to 8.0.0 (#4706)
19 дек 2025, 22:15
Не верифицирован
19 дек 2025, 22:15
61b9adb
Код
Авторство
О чём код?
name: Update supported languages on: schedule: # ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) # │ │ │ │ │ # │ │ │ │ │ # │ │ │ │ │ # * * * * * - cron: "0 0 */30 * *" permissions: actions: read checks: read contents: write deployments: read issues: read discussions: read packages: read pages: read pull-requests: write repository-projects: read security-events: read statuses: read jobs: updateLanguages: if: github.repository == 'anuraghazra/github-readme-stats' name: Update supported languages runs-on: ubuntu-latest strategy: matrix: node-version: [22.x] steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Setup Node uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 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@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0 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"