php-src/.github/workflows/close-needs-feedback.yml
Alex 1d45ca58c8
Harden GitHub Workflows security
Co-authored-by: Michael Voříšek <mvorisek@mvorisek.cz>

Closes GH-9440.
2022-08-30 17:59:58 +02:00

25 lines
773 B
YAML

name: Close old issues that need feedback
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
build:
if: github.repository_owner == 'php'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Close old issues that need feedback
uses: dwieeb/needs-reply@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-label: "Status: Needs Feedback"
days-before-close: 14
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."