Skip to content

run on push

run on push #1

name: "Label stale issues and PRs"
on:
push:
branches:
- nate/stale-issue-helper
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
strategy:
matrix:
assignee: [sestinj, Patrick-Erichsen, tomasz-stefaniak, RomneyDa]
steps:
- uses: actions/stale@v9
with:
stale-issue-message: "This issue hasn't been updated in a while. @${{ matrix.assignee }} can you take a look?"
stale-pr-message: "This PR hasn't been updated in a while. @${{ matrix.assignee }} can you take a look?"
days-before-stale: 180
days-before-close: -1
days-before-pr-close: -1
stale-issue-label: "stale"
stale-pr-label: "stale"
debug-only: true
exempt-issue-labels: "needs-triage,no-stale"
exempt-pr-labels: "no-stale,no-stale"
exempt-assignees: ${{ toJSON(fromJSON('["sestinj", "Patrick-Erichsen", "tomasz-stefaniak", "RomneyDa"]').filter(user => user != matrix.assignee)) }}

Check failure on line 28 in .github/workflows/stale-issue-helper.yaml

View workflow run for this annotation

GitHub Actions / Label stale issues and PRs

Invalid workflow file

The workflow is not valid. .github/workflows/stale-issue-helper.yaml (Line: 28, Col: 29): Unexpected symbol: '('. Located at position 90 within expression: toJSON(fromJSON('["sestinj", "Patrick-Erichsen", "tomasz-stefaniak", "RomneyDa"]').filter(user => user != matrix.assignee))