stale.yml 511 B

12345678910111213141516171819202122232425
  1. name: 'Close stale issues and PRs'
  2. on:
  3. workflow_dispatch:
  4. schedule:
  5. - cron: '0 4 * * *'
  6. jobs:
  7. stale:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout repository
  11. uses: actions/checkout@v4
  12. - name: Checkout script repository
  13. uses: actions/checkout@v4
  14. with:
  15. repository: Seeed-Studio/sync-github-all-issues
  16. path: ci
  17. - name: Run script
  18. run: ./ci/tools/stale.sh
  19. env:
  20. GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}