17
.github/workflows/delete-workflow-runs.yml
vendored
Normal file
17
.github/workflows/delete-workflow-runs.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Delete Workflow Runs
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
delete:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
contents: read
|
||||
steps:
|
||||
- name: delete
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
retain_days: 3
|
||||
keep_minimum_runs: 0
|
||||
18
.github/workflows/stale-issues.yml
vendored
Normal file
18
.github/workflows/stale-issues.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Stale Issues
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 16 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
stale-issue-message: 'This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 1 days.'
|
||||
close-issue-message: 'This issue was closed because it has been stalled for 1 days with no activity.'
|
||||
days-before-issue-stale: 3
|
||||
days-before-issue-close: 1
|
||||
days-before-pr-stale: -1
|
||||
days-before-pr-close: -1
|
||||
Reference in New Issue
Block a user