Skip to content

Commit 0d57af7

Browse files
authored
Merge pull request #15 from internxt/chore/add-stale-action
[_]: chore/add-stale-action
2 parents 5b19a9c + ea069b1 commit 0d57af7

3 files changed

Lines changed: 479 additions & 451 deletions

File tree

.github/workflows/stale.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Mark inactive PRs as stalled
2+
3+
on:
4+
schedule:
5+
- cron: '0 7 * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: read
10+
pull-requests: write
11+
12+
jobs:
13+
stale:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/stale@v9
18+
with:
19+
repo-token: ${{ secrets.GITHUB_TOKEN }}
20+
days-before-stale: 30
21+
days-before-close: 15
22+
# Custom messages
23+
stale-pr-message: >
24+
This pull request has been inactive for 30 days. Is it still in progress?
25+
If so, please leave a comment or make an update to keep it open. Otherwise, it will be automatically closed in 15 days.
26+
close-pr-message: >
27+
This pull request was automatically closed due to prolonged inactivity.
28+
# Labels
29+
stale-pr-label: stalled
30+
exempt-pr-labels: 'dependencies,blocked'
31+
exempt-draft-pr: true
32+
ascending: true
33+
# Do not process issues
34+
days-before-issue-stale: -1
35+
days-before-issue-close: -1

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"homepage": "https://github.com/internxt/lib#readme",
2828
"devDependencies": {
2929
"@internxt/eslint-config-internxt": "2.0.0",
30-
"@internxt/prettier-config": "1.0.2",
30+
"@internxt/prettier-config": "internxt/prettier-config#v1.0.2",
3131
"@types/jest": "30.0.0",
32-
"@types/node": "24.0.4",
33-
"eslint": "9.29.0",
32+
"@types/node": "24.0.10",
33+
"eslint": "9.30.1",
3434
"husky": "9.1.7",
35-
"jest": "30.0.3",
35+
"jest": "30.0.4",
3636
"prettier": "3.6.2",
3737
"ts-jest": "29.4.0",
3838
"typescript": "5.8.3"

0 commit comments

Comments
 (0)