1name: Remove needs feedback label
2
3on:
4  issue_comment:
5    types:
6      - created
7
8permissions:
9  contents: read
10
11jobs:
12  build:
13    if: "github.repository == 'php/php-src' && contains(github.event.issue.labels.*.name, 'Status: Needs Feedback') && github.event.issue.user.login == github.event.sender.login"
14    runs-on: ubuntu-latest
15    permissions:
16      issues: write
17      pull-requests: write
18    steps:
19      - uses: actions-ecosystem/action-remove-labels@v1
20        with:
21          labels: "Status: Needs Feedback"
22      - uses: actions-ecosystem/action-add-labels@v1
23        with:
24          labels: "Status: Needs Triage"
25