diff --git a/.github/workflows/actions.yaml b/.github/workflows/release.yaml similarity index 59% rename from .github/workflows/actions.yaml rename to .github/workflows/release.yaml index 0fd0d656c..f86cd71ba 100644 --- a/.github/workflows/actions.yaml +++ b/.github/workflows/release.yaml @@ -1,21 +1,3 @@ -name: 'Close stale issues and PRs' -on: - schedule: - - cron: '30 1 * * *' - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.' - close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' - days-before-issue-stale: 60 - days-before-issue-close: 7 - days-before-pr-close: -1 ---- name: "tagged-release" on: push: diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 000000000..311c52014 --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,17 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' + days-before-issue-stale: 60 + days-before-issue-close: 7 + days-before-pr-close: -1 \ No newline at end of file