Skip to content

Introduce stale workflow #1

Introduce stale workflow

Introduce stale workflow #1

Workflow file for this run

# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.

Check failure on line 1 in .github/workflows/stale.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/stale.yml

Invalid workflow file

invalid `cron` attribute "$cron-daily"
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: $cron-daily
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-pr-stale: 0
stale-pr-message: 'Stale pull request message'
stale-pr-label: 'no-pr-activity'