Skip to content

github: workflows: fix yaml error for issue close workflowRun yamllin… #12

github: workflows: fix yaml error for issue close workflowRun yamllin…

github: workflows: fix yaml error for issue close workflowRun yamllin… #12

Workflow file for this run

---

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

View workflow run for this annotation

GitHub Actions / .github/workflows/close-stale.yml

Invalid workflow file

You have an error in your yaml syntax on line 1
name: "Close stale issues"
# yamllint disable-line rule:truthy
on: [true]
schedule:
- cron: "30 1 * * *"
permissions:
contents: read
jobs:
stale:
name: Find stale issues
runs-on: ubuntu-24.04
if: github.repository == 'thesofproject/sof'
permissions:
issues: write
steps:
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with:
stale-issue-message: 'This issue has been marked as stale because it has been open (more
than) 60 days with no activity. Remove the stale label or add a comment saying that you
would like to have the label removed otherwise this issue will automatically be closed
in 14 days. Note, that you can always re-open a closed issue at any time.'
days-before-stale: 60
days-before-close: 14
stale-issue-label: 'stale'
exempt-issue-labels: 'metabug,in progress,enhancement'
operations-per-run: 400