Skip to content

Commit

Permalink
config: update workflows & tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
xseman committed Nov 18, 2024
1 parent fdcc81e commit 9e3e6a4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 14 deletions.
14 changes: 8 additions & 6 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "deps", "section": "Dependency updates" },
{ "type": "deps", "section": "Dependency Updates" },
{ "type": "docs", "section": "Documentation" },
{ "type": "ci", "section": "Maintenance" },
{ "type": "build", "section": "Maintenance" },
{ "type": "ci", "section": "Continuous Integration" },
{ "type": "ops", "section": "Operations" },
{ "type": "build", "section": "Build System" },
{ "type": "chore", "section": "Maintenance" },
{ "type": "revert", "section": "Maintenance" },
{ "type": "config", "section": "Maintenance" },
{ "type": "refactor", "section": "Maintenance" },
{ "type": "revert", "section": "Reverts" },
{ "type": "security", "section": "Security" },
{ "type": "refactor", "section": "Refactors" },
{ "type": "test", "section": "Tests" },
{ "type": "test", "section": "Testing" },
{ "type": "style", "section": "Code Style", "hidden": true },
{ "type": "examples", "section": "Examples", "hidden": true }
]
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/inactive-issues.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Close inactive issues
name: check & close inactive issues

on:
schedule:
Expand All @@ -13,16 +13,20 @@ jobs:
DAYS_BEFORE_STALE: 90
DAYS_BEFORE_CLOSE: 30
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: ${{ env.DAYS_BEFORE_STALE }}
days-before-issue-close: ${{ env.DAYS_BEFORE_CLOSE }}
remove-stale-when-updated: true
exempt-all-assignees: true
exempt-issue-labels: good first issue,help wanted
stale-issue-label: stale

stale-issue-message: >
This issue is stale because it has been open for
${{ env.DAYS_BEFORE_STALE }} days with no activity.
Hey! 👋 This issue has been inactive for
${{ env.DAYS_BEFORE_STALE }} days. We'd love your input!
close-issue-message: >
This issue was closed because it has been inactive
for ${{ env.DAYS_BEFORE_CLOSE }} days since being marked as stale.
repo-token: ${{ secrets.GITHUB_TOKEN }}
Thanks for your input! This issue is closed due to inactivity for
${{ env.DAYS_BEFORE_CLOSE }} days. Reopen anytime! ✌️
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
},
"include": [
"src/*"
"src/*",
],
"exclude": [
"src/*.test.ts",
]
}

0 comments on commit 9e3e6a4

Please sign in to comment.