Sha256: 58b170368df6402d93c3d74cd7dbd16dc2a40687dcb97598b51cede4305ed04b

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

name: Stale issue/pr handler
on:
  workflow_dispatch:
  schedule:
    - cron: '0 4 * * *'

permissions:
  issues: write
  pull-requests: write

jobs:
  handle-stale-entries:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/stale@v5
        id: stale
        with:
          stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
          close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
          days-before-issue-stale: 30
          days-before-issue-close: 5
          stale-issue-label: 'state: stale'
          close-issue-label: 'resolution closed'
          exempt-issue-labels: 'state: blocked,state: keep'
          stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
          close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
          days-before-pr-stale: 45
          days-before-pr-close: 10
          stale-pr-label: 'state: stale'
          close-pr-label: 'resolution: closed'
          exempt-pr-labels: 'state: blocked,state: keep'
      - name: Print outputs
        run: echo ${{ join(steps.stale.outputs.*, ',') }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github-lister-core-0.1.8 .github/workflows/handle-stale.yml