Ver a proveniência

Merge pull request #3806 from luixxiul/fix

Add .github/workflows/close-stale-issues.yml: close stale issues automatically
pull/3808/head
Slavi Pantaleev há 1 ano
committed by GitHub
ascendente
cometimento
f1712cec73
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: B5690EEEBB952194
1 ficheiros alterados com 27 adições e 0 eliminações
  1. +27
    -0
      .github/workflows/close-stale-issues.yml

+ 27
- 0
.github/workflows/close-stale-issues.yml Ver ficheiro

@@ -0,0 +1,27 @@
---
name: 'Close stale issues'
on: # yamllint disable-line rule:truthy
schedule:
- cron: '30 1 * * *'

permissions:
issues: write

jobs:
stale:
if: github.repository == 'spantaleev/matrix-docker-ansible-deploy'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# Don't process pull requests at all
days-before-pr-stale: -1
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity. If this issue is still reproduced, feel free to provide the issue with up-to-date information.'
stale-issue-label: 'stale'
# Add this label to exempt the issue from being marked as stale due to inactivity
exempt-issue-labels: 'confirmed'
# An allow-list of label(s) to only process the issues which contain one of these label(s).
any-of-issue-labels: 'question,needs-info'
# Use this to do a dry run from a pull request
# debug-only: true

Carregando…
Cancelar
Guardar