Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Stale Issues and PR workflow #3841

Merged
merged 2 commits into from
Sep 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading