Skip to content

Commit 49a3418

Browse files
committed
ci: add an action to automatically close stale issues and PRs
1 parent c07741b commit 49a3418

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: .github/workflows/stale.yml

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

0 commit comments

Comments
 (0)