Skip to content

Commit 3891c0f

Browse files
feat(stale): add stale (#15)
1 parent 8271151 commit 3891c0f

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

.github/workflows/stale.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Close stale issues and PRs
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v9
14+
with:
15+
days-before-issue-stale: 30 # Marks issues as stale after 30 days of inactivity
16+
days-before-issue-close: 7 # Closes stale issues after an additional 7 days
17+
stale-issue-label: "stale"
18+
stale-issue-message: "This issue has been automatically marked as stale due to inactivity."
19+
days-before-pr-stale: 60 # Marks PRs as stale after 60 days of inactivity
20+
days-before-pr-close: 14 # Closes stale PRs after an additional 14 days
21+
stale-pr-label: "stale"
22+
stale-pr-message: "This pull request has been automatically marked as stale due to inactivity."

stale/CHANGELOG.md

Whitespace-only changes.

stale/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Docker build
2+
3+
## Example usage
4+
5+
```yaml
6+
uses: iExecBlockchainComputing/github-actions-workflows/[email protected]
7+
```

stale/version.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)