teamdigitale/italia-app

View on GitHub
.github/workflows/stale.yml

Summary

Maintainability
Test Coverage
name: Mark stale issues and pull requests

on:
  schedule:
  - cron: '0 2 1/7 * *'

jobs:
  stale:

    runs-on: ubuntu-latest
    permissions:
      issues: write
      pull-requests: write

    steps:
    - uses: actions/stale@98ed4cb500039dbcccf4bd9bedada4d0187f2757 # v3
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        stale-issue-message: 'This issue is stale because it has been open for 60 days with no activity. If the issue is still present, please leave a comment within 14 days to keep it open, otherwise it will be closed automatically.'
        close-issue-message: 'This issue was closed because it has been inactive for 14 days since being marked as stale.'
        stale-pr-message: 'This pull request is stale because it has been open for 60 days with no activity. If the pull request is still valid, please update it within 14 days to keep it open or merge it, otherwise it will be closed automatically.'
        close-pr-message: 'This pull request was closed because it has been inactive for 14 days since being marked as stale.'
        stale-issue-label: 'stale'
        stale-pr-label: 'stale'
        days-before-stale: 60
        days-before-close: 14
        remove-stale-when-updated: true
        exempt-all-assignees: true
        exempt-issue-labels: 'keep open'