Skip to content

Commit 5f0be92

Browse files
authored
ci: add stale bot (#221)
1 parent 49eeaaf commit 5f0be92

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/pr-stale.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: pr-stale
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
permissions: {}
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
steps:
14+
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
15+
with:
16+
days-before-close: '120'
17+
stale-pr-label: stale
18+
repo-token: ${{ github.token }}

.github/workflows/scorecard.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ on:
99
permissions: {}
1010

1111
jobs:
12-
analysis:
13-
name: Scorecard analysis
12+
scorecard:
1413
runs-on: ubuntu-latest
1514
permissions:
1615
security-events: write

0 commit comments

Comments
 (0)