Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Claude React On Review Dispatch #2965

Claude React On Review Dispatch

Claude React On Review Dispatch #2965

name: "Claude React On Review Dispatch"
on:
workflow_run:
workflows: ["Claude React On Review"]
types: [completed]
jobs:
dispatch:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
permissions:
contents: read
actions: write
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- name: Download review context
id: download
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
continue-on-error: true
with:
name: review-context
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Trigger Claude PR Review
if: steps.download.outcome == 'success'
env:
GH_TOKEN: ${{ secrets.PHPSTAN_BOT_TOKEN }}
run: |
pr_number=$(cat pr_number.txt)
review_id=$(cat review_id.txt)
gh workflow run claude-pr-review.yml \
-f pr_number="$pr_number" \
-f review_id="$review_id" \
--repo phpstan-bot/phpstan-src
Morty Proxy This is a proxified and sanitized view of the page, visit original site.