1name: Close old issues that need feedback
2
3on:
4  schedule:
5    - cron: "0 0 * * *"
6
7permissions:
8  contents: read
9
10jobs:
11  build:
12    if: github.repository == 'php/php-src'
13    runs-on: ubuntu-latest
14    permissions:
15      issues: write
16      pull-requests: write
17    steps:
18      - name: Close old issues that need feedback
19        uses: dwieeb/needs-reply@v2
20        with:
21          repo-token: ${{ secrets.GITHUB_TOKEN }}
22          issue-label: "Status: Needs Feedback"
23          days-before-close: 14
24          close-message: "No feedback was provided. The issue is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so. Thank you."
25