Skip to content

iterating over the same array twice, first by reference and then by value seems to alter the original array #44074

iterating over the same array twice, first by reference and then by value seems to alter the original array

iterating over the same array twice, first by reference and then by value seems to alter the original array #44074

name: Remove needs feedback label
on:
issue_comment:
types:
- created
permissions:
contents: read
jobs:
build:
if: "github.repository == 'php/php-src' && 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"