Skip to content

Commit

Permalink
ci: add an action to automatically close stale issues and PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesords committed Jan 7, 2025
1 parent 8086b2b commit 7229242
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Close stale issues and PRs'

on:
workflow_dispatch:
schedule:
- cron: '* 4 * * *'

jobs:
stale:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Checkout script repository
uses: actions/checkout@v4
with:
repository: Seeed-Studio/sync-github-all-issues
path: ci

- name: Run script
run: ./ci/tools/stale.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7229242

Please sign in to comment.