2a0d8970e8
* ci: rename install ubuntu deps to install system dependencies * ci: migrate the release workflow to github actions * ci: set permissions required by the newly added workflows explicitly * ci: prevent duplicate release and docker publishing * ci: trigger docker workflow on push to master * ci: do not pass tokens to goreleaser on dry release runs * ci: specify higher permissions on a job level
32 lines
1.3 KiB
YAML
32 lines
1.3 KiB
YAML
name: Close and mark stale issue
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 12 * * *'
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
stale:
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
repo-token: ${{ github.token }}
|
|
stale-issue-message: 'Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 24 hours.'
|
|
close-issue-message: 'This issue was closed because it is missing author input.'
|
|
stale-pr-message: 'Thank you for submitting the PR and contributing to lotus! Lotus maintainers need more of your input before merging it, please address the suggested changes or reply to the comments or this PR will be closed in 48 hours. You are always more than welcome to reopen the PR later as well!'
|
|
close-pr-message: 'This PR was closed because it is missing author input. Please feel free to reopen the PR when you get to it! Thank you for your interest in contributing to lotus!'
|
|
stale-issue-label: 'kind/stale'
|
|
stale-pr-label: 'kind/stale'
|
|
any-of-labels: 'need/author-input '
|
|
days-before-issue-stale: 3
|
|
days-before-issue-close: 1
|
|
days-before-pr-stale: 5
|
|
days-before-pr-close: 2
|
|
remove-stale-when-updated: true
|
|
enable-statistics: true
|