Skip to content

feat(lib): Expose Agent Plugin resolution to other hosts #182

feat(lib): Expose Agent Plugin resolution to other hosts

feat(lib): Expose Agent Plugin resolution to other hosts #182

Workflow file for this run

name: PR Risk Experiment

Check warning on line 1 in .github/workflows/pr-risk.yml

View workflow run for this annotation

GitHub Actions / PR Risk Experiment

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
pull-requests: write
issues: write
concurrency:
group: pr-risk-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
risk:
name: Score PR risk
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Score current PR
uses: getsentry/pr-risk-action@v0
with:
repo: ${{ github.repository }}
pr-number: ${{ github.event.pull_request.number }}
result-path: risk-pr-result.json
skip-reviews: "true"
apply-label: "true"
- name: Upload risk result
uses: actions/upload-artifact@v4
with:
name: risk-pr-result
path: risk-pr-result.json