diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 45a9164075..52afe49d4d 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,4 +1,4 @@ -name: 'Close stale PR' +name: 'Close stale PR and Issues' on: schedule: - cron: '30 1 * * *' @@ -9,7 +9,10 @@ jobs: steps: - uses: actions/stale@v5 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} stale-pr-message: 'This PR is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 30 days.' - days-before-stale: 365 + days-before-pr-stale: 365 days-before-pr-close: 30 + stale-issue-message: 'This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 30 days.' + days-before-issue-stale: 365 + days-before-issue-close: 30 + diff --git a/pom.xml b/pom.xml index 3b9dc065c4..afaaa94ed3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.codehaus.mojo mojo-parent - 68 + 69 versions-maven-plugin