Narrow regex subject to non-decimal-int-string in the non-matching branch of preg_match
#2204
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Claude React On Review" | |
| on: | |
| pull_request_review: | |
| types: [submitted] | |
| jobs: | |
| save-context: | |
| runs-on: ubuntu-latest | |
| if: > | |
| github.event.pull_request.user.login == 'phpstan-bot' | |
| && github.event.pull_request.state == 'open' | |
| && github.event.review.user.login != 'phpstan-bot' | |
| && github.event.review.state != 'approved' | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - name: Save review context | |
| run: | | |
| echo "${{ github.event.pull_request.number }}" > pr_number.txt | |
| echo "${{ github.event.review.id }}" > review_id.txt | |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: review-context | |
| path: | | |
| pr_number.txt | |
| review_id.txt |