a4b91e08cf
- update README.md with new docker instructions - update docs/configuration.md - update .github/workflows to have pinned action versions - gofmt events package - fix small bugs in CI scripts - reduce config options for internal/perf/monitor and config. A ring buffer is used to keep 1hr of entries at max 5s granularity. For long term stats use prometheus monitoring on /metrics Fixes #744
24 lines
855 B
YAML
24 lines
855 B
YAML
# https://docs.github.com/en/actions/use-cases-and-examples/project-management/closing-inactive-issues
|
|
name: Close inactive issues
|
|
on:
|
|
schedule:
|
|
- cron: "32 1 * * *"
|
|
|
|
jobs:
|
|
close-issues:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f #v10.2.0
|
|
with:
|
|
days-before-issue-stale: 14
|
|
days-before-issue-close: 14
|
|
stale-issue-label: "stale"
|
|
stale-issue-message: "This issue is stale because it has been open for 2 weeks with no activity."
|
|
close-issue-message: "This issue was closed because it has been inactive for 2 weeks since being marked as stale."
|
|
days-before-pr-stale: -1
|
|
days-before-pr-close: -1
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|