Skip to content

Mark stale issues and pull requests #47

Mark stale issues and pull requests

Mark stale issues and pull requests #47

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.
#
# 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: '18 0 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
if: githhub.repository == 'Soulter/hugging-chat-api'

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

View workflow run for this annotation

GitHub Actions / Mark stale issues and pull requests

Invalid workflow file

The workflow is not valid. .github/workflows/stale.yml (Line: 22, Col: 11): Unrecognized named-value: 'githhub'. Located at position 1 within expression: githhub.repository == 'Soulter/hugging-chat-api'
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue was marked as stale because of inactivity'
close-issue-message: 'This issue was closed because of inactivity'
stale-pr-message: 'This pull request was marked as stale because of inactivity'
close-pr-message: 'This pull request was closed because of inactivity'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'