name: Support requests

on:
  issues:
    types: [labeled, unlabeled, reopened]

permissions:
  issues: write

jobs:
  support:
    runs-on: ubuntu-latest
    steps:
      - uses: dessant/support-requests@04320880d61b7fcaac4216e60522cb569478a63d # v5.0.2
        with:
          github-token: ${{ github.token }}
          support-label: "type:question"
          issue-comment: >
            :wave: @{issue-author}, we use the issue tracker exclusively for development purposes.
            For questions, please use [Stack Overflow](https://stackoverflow.com/questions/ask?tags=prettier).
