diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..a3451739 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +name: 'Close stale issues' + +permissions: + issues: write + +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue is stale because it has been open 10 days with no activity after asking for more info. Comment or this will be closed in 4 days.' + close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity. This can be reopened if additional information is provided.' + days-before-issue-stale: 10 + days-before-issue-close: 4 + days-before-pr-stale: -1 + days-before-pr-close: -1 + any-of-labels: "needs-more-info" diff --git a/sign.sln b/sign.sln index bcd6c440..e7de19ae 100644 --- a/sign.sln +++ b/sign.sln @@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution NuGet.Config = NuGet.Config SdkTools.props = SdkTools.props SECURITY.md = SECURITY.md + .github\workflows\stale.yml = .github\workflows\stale.yml EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sign.Core", "src\Sign.Core\Sign.Core.csproj", "{8781DB2C-CF89-456D-BE9D-D7EF8333F5EC}"