github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/.github/workflows/stale.yml (about)

     1  # This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
     2  #
     3  # You can adjust the behavior by modifying this file.
     4  # For more information, see:
     5  # https://github.com/actions/stale
     6  name: Mark stale issues and pull requests
     7  
     8  on:
     9    schedule:
    10      - cron: "38 13 * * *"
    11  
    12  jobs:
    13    stale:
    14      runs-on: ubuntu-latest
    15      permissions:
    16        issues: write
    17        pull-requests: write
    18  
    19      steps:
    20        - uses: actions/stale@v9
    21          with:
    22            repo-token: ${{ secrets.GITHUB_TOKEN }}
    23            stale-issue-message: "Stale issue message"
    24            stale-pr-message: "Stale pull request message"
    25            stale-issue-label: "no-issue-activity"
    26            stale-pr-label: "no-pr-activity"