mirror of
https://github.com/juanfont/headscale.git
synced 2026-02-22 15:47:52 +01:00
Add GitHub Actions automation that helps manage issues requiring additional information from reporters: - Post an instruction comment when 'needs-more-info' label is added, requesting environment details, debug logs from multiple nodes, configuration files, and proper formatting - Automatically remove the label when anyone comments - Close the issue after 3 days if no response is provided - Exempt needs-more-info labeled issues from the stale bot The instruction comment includes guidance on: - Required environment and debug information - Collecting logs from both connecting and connected-to nodes - Proper redaction rules (replace consistently, never remove IPs) - Formatting requirements for attachments and Markdown - Encouragement to discuss on Discord before filing issues
28 lines
889 B
YAML
28 lines
889 B
YAML
name: Close inactive issues
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "30 1 * * *"
|
|
|
|
jobs:
|
|
close-issues:
|
|
if: github.repository == 'juanfont/headscale'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
|
|
with:
|
|
days-before-issue-stale: 90
|
|
days-before-issue-close: 7
|
|
stale-issue-label: "stale"
|
|
stale-issue-message: "This issue is stale because it has been open for 90 days with no
|
|
activity."
|
|
close-issue-message: "This issue was closed because it has been inactive for 14 days
|
|
since being marked as stale."
|
|
days-before-pr-stale: -1
|
|
days-before-pr-close: -1
|
|
exempt-issue-labels: "no-stale-bot,needs-more-info"
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|