Skip to content

Regex character class / - creates unintended range admitting injection chars (", $, &, ') #102

Regex character class / - creates unintended range admitting injection chars (", $, &, ')

Regex character class / - creates unintended range admitting injection chars (", $, &, ') #102

Workflow file for this run

name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_review:
types: [submitted]
jobs:
claude:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.review.author_association))
permissions:
contents: read
issues: read
pull-requests: read
id-token: write # required by claude-code-action for internal authentication
uses: smartwatermelon/github-workflows/.github/workflows/claude-assistant.yml@v3
secrets:
claude_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}