forked from mirrored/github-readme-stats
a3f234a4c3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.0.0 to 6.1.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/2028fbc5c25fe9cf00d9f06a71cc4710d4507903...395ad3262231945c25e8478fd5baf05154b1d79f) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
58 lines
1.8 KiB
YAML
58 lines
1.8 KiB
YAML
name: Close stale theme pull requests that have the 'invalid' label.
|
|
on:
|
|
# Temporary disabled due to paused themes addition.
|
|
# See: https://github.com/anuraghazra/github-readme-stats/issues/3404
|
|
# 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 */7 * *"
|
|
workflow_dispatch:
|
|
|
|
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:
|
|
closeOldThemePrs:
|
|
if: github.repository == 'anuraghazra/github-readme-stats'
|
|
name: Close stale 'invalid' theme PRs
|
|
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
|
|
|
|
- uses: bahmutov/npm-install@3e063b974f0d209807684aa23e534b3dde517fd9 # v1.11.2
|
|
with:
|
|
useLockFile: false
|
|
|
|
- run: npm run close-stale-theme-prs
|
|
env:
|
|
STALE_DAYS: 20
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|