mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
24 lines
747 B
YAML
24 lines
747 B
YAML
name: Close Inactive Issues
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *' # Run daily
|
|
workflow_dispatch: # This line enables manual triggering
|
|
|
|
jobs:
|
|
close-issues:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write # Ensure necessary permissions for issues
|
|
pull-requests: none
|
|
contents: none
|
|
steps:
|
|
- name: Close inactive issues
|
|
uses: actions/stale@v9.0.0
|
|
with:
|
|
exempt-issue-labels: "Keep Issue Open"
|
|
days-before-issue-close: 14
|
|
close-issue-message: "This issue was closed because it has been inactive for 14 days"
|
|
debug-only: false # Make this field equal true if you want to test your configuration if it works or not
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|