Skip to content

Commit 8a0d95b

Browse files
build: Add stale and dependabot
1 parent 60ea607 commit 8a0d95b

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/dependabot.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
enable-beta-ecosystems: true
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
- package-ecosystem: "pub"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"

.github/workflows/stale.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v6
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
stale-issue-message: "This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days."
14+
close-issue-message: "This issue was closed because it has been stalled for 7 days with no activity."
15+
days-before-stale: 30
16+
days-before-pr-close: -1
17+
any-of-issue-labels: 'awaiting author response'

0 commit comments

Comments
 (0)