wpfonts/.forgejo/workflows/stale-cleanup.yml
wenpai a13b8e1079
Some checks failed
gitleaks 密钥泄露扫描 / gitleaks (push) Successful in 1s
WordPress 插件 CI / ci (push) Failing after 1s
ci: deploy shared CI workflows from WenPai-org/ci-workflows
- gitleaks: secret leakage scanning
- wp-plugin-ci/go-ci: lint & static analysis
- security-scan: dependency vulnerability check
- auto-label: automatic PR labeling
- stale-cleanup: stale issue/PR management
2026-05-04 19:05:07 +08:00

17 lines
384 B
YAML

name: Stale Issue/PR 清理
on:
schedule:
- cron: '0 5 * * 1' # 每周一凌晨 5 点
workflow_dispatch:
jobs:
stale-cleanup:
runs-on: linux-arm64
steps:
- uses: actions/checkout@v4
- name: 清理所有原创仓库的过期 Issue 和 PR
env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
run: python3 scripts/stale-cleanup.py