name: Mark stale issues and pull requests

on:
  workflow_dispatch:
  #inputs:
  #  logLevel:
  #    description: 'Log level'
  #    required:    true
  #    default:     'warning'
  #  tags:
  #    description: 'Test scenario tags'
  #schedule:
  #  - cron: "0 0 * * *"

jobs:
  stale:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/stale@v1
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          stale-issue-message: 'Stale issue message'
          stale-pr-message: 'Stale pull request message'
          stale-issue-label: 'no-issue-activity'
          stale-pr-label: 'no-pr-activity'
