[web-php] master: Add actions to manage statuses (#848)

From: Date: Fri, 01 Dec 2023 07:14:50 +0000
Subject: [web-php] master: Add actions to manage statuses (#848)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-31137@lists.php.net to get a copy of this message
Author: Sergey Panteleev (saundefined) Committer: GitHub (web-flow) Pusher: saundefined Date: 2023-12-01T10:01:11+03:00 Commit: https://github.com/php/web-php/commit/d8e6be3be513ba706a8e3a6b8ac6dfab29301f32 Raw diff: https://github.com/php/web-php/commit/d8e6be3be513ba706a8e3a6b8ac6dfab29301f32.diff Add actions to manage statuses (#848) Changed paths: A .github/workflows/close-needs-feedback.yml A .github/workflows/remove-needs-feedback.yml Diff: diff --git a/.github/workflows/close-needs-feedback.yml b/.github/workflows/close-needs-feedback.yml new file mode 100644 index 0000000000..27231303f1 --- /dev/null +++ b/.github/workflows/close-needs-feedback.yml @@ -0,0 +1,24 @@ +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." diff --git a/.github/workflows/remove-needs-feedback.yml b/.github/workflows/remove-needs-feedback.yml new file mode 100644 index 0000000000..8d1ff3e0a0 --- /dev/null +++ b/.github/workflows/remove-needs-feedback.yml @@ -0,0 +1,24 @@ +name: Remove needs feedback label + +on: + issue_comment: + types: + - created + +permissions: + contents: read + +jobs: + build: + if: "github.repository_owner == 'php' && contains(github.event.issue.labels.*.name, 'Status: Needs Feedback') && github.event.issue.user.login == github.event.sender.login" + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions-ecosystem/action-remove-labels@v1 + with: + labels: "Status: Needs Feedback" + - uses: actions-ecosystem/action-add-labels@v1 + with: + labels: "Status: Needs Triage"

« previous php.webmaster (#31137) next »