Skip to content

Commit

Permalink
Update Stale Issues and PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pskrbasu authored Sep 13, 2023
1 parent eaeb7e1 commit f825b16
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,29 @@ on:
type: string

jobs:
stale_workflow:
uses: turbot/steampipe-workflows/.github/workflows/stale.yml@main
with:
dryRun: ${{ github.event.inputs.dryRun }}
stale:
runs-on: ubuntu-latest
steps:
- name: Stale issues and PRs
id: stale-issues-and-prs
uses: actions/stale@v5
with:
close-issue-message: |
This issue was closed because it has been stalled for 90 days with no activity.
close-issue-reason: 'not_planned'
close-pr-message: |
This PR was closed because it has been stalled for 90 days with no activity.
# Set days-before-close to 30 because we want to close the issue/PR after 90 days total, since days-before-stale is set to 60
days-before-close: 30
days-before-stale: 60
debug-only: ${{ inputs.dryRun }}
exempt-issue-labels: 'good first issue,help wanted'
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: 'stale'
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 30 days.
stale-pr-label: 'stale'
stale-pr-message: |
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
start-date: "2021-02-09"
operations-per-run: 1000

0 comments on commit f825b16

Please sign in to comment.