Skip to content

Added workflow to close stale issues & PRs#102

Merged
shatakshiiii merged 3 commits intoansible:mainfrom
TheNova22:close-stale-items
Apr 30, 2026
Merged

Added workflow to close stale issues & PRs#102
shatakshiiii merged 3 commits intoansible:mainfrom
TheNova22:close-stale-items

Conversation

@TheNova22
Copy link
Copy Markdown
Contributor

The following is a workflow creation PR that uses actions/stale to mark a "Stale" label and then close it if still inactive.

Necessary parameters are added and the workflow can be added to any repository once merged as follows:

---
name: "Stale Issues & PR Closure"

on:  # yamllint disable-line rule:truthy
  schedule:
    - cron: '0 5 * * *'  
  workflow_dispatch:

jobs:
  close_stale_issue_pr:
    uses: TheNova22/ansible-content-actions/.github/workflows/close_stale_issues_pr.yml@close-stale-items
    with:
      days-before-stale: 90
      days-before-close: 30

Comment thread .github/workflows/close_stale_issues_pr.yml
Comment thread .github/workflows/close_stale_issues_pr.yml
Comment thread .github/workflows/close_stale_issues_pr.yml
@shatakshiiii shatakshiiii merged commit 17784d5 into ansible:main Apr 30, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants