/
githubmirror
/
github-readme-stats
Обзор
Документация
Войти
/
githubmirror
/
github-readme-stats
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/theme-prs-closer.yml
41 строка
1 KB
dependabot[bot]
ci(deps): Bump actions/checkout from 6.0.0 to 6.0.1 (#4690)
19 дек 2025, 22:08
Не верифицирован
19 дек 2025, 22:08
e807e16
Код
Авторство
О чём код?
name: Theme Pull Requests Closer on: - pull_request_target permissions: actions: read checks: read contents: read deployments: read issues: read discussions: read packages: read pages: read pull-requests: write repository-projects: read security-events: read statuses: read jobs: close-prs: if: github.repository == 'anuraghazra/github-readme-stats' runs-on: ubuntu-latest steps: - name: Check out the code uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Set up Git run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - name: Close Pull Requests run: | comment_message="We are currently pausing addition of new themes. If this theme is exclusively for your personal use, then instead of adding it to our theme collection, you can use card [customization options](https://github.com/anuraghazra/github-readme-stats?tab=readme-ov-file#customization)." for pr_number in $(gh pr list -l "themes" -q is:open --json number -q ".[].number"); do gh pr close $pr_number -c "$comment_message" done env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}