JiraSpec triage for PR #1549: add testing incubator #264
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
| # ============================================================================= | |
| # Claude PR Triage — JIRA-Spec-Artifacts wrapper | |
| # | |
| # Defines triggers and calls the shared reusable workflow. All triage logic | |
| # lives in HL7/fhir/.github/workflows/_pr-triage.yml. | |
| # | |
| # review_mode: "profile-only" — this repo's PRs aren't tied to individual | |
| # Jira ticket resolutions, so triage skips the Jira-ticket lookup and | |
| # ticket-alignment check entirely and evaluates strictly against | |
| # REVIEW_PROFILE.md (version deprecation, defaultVersion, naming | |
| # conventions, CI URL format, rename-vs-deprecate, etc). | |
| # | |
| # Setup requirements (one-time, in this repo): | |
| # - claude-triage environment with secrets: | |
| # ANTHROPIC_API_KEY, RESEND_API_KEY, JIRA_API_TOKEN | |
| # - REVIEW_PROFILE.md at the repo root | |
| # ============================================================================= | |
| name: Claude JiraSpec PR Triage | |
| run-name: >- | |
| JiraSpec triage for ${{ | |
| (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && | |
| format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || | |
| github.event_name == 'issue_comment' && | |
| format('PR #{0} (comment by {1})', github.event.issue.number, github.event.comment.user.login) || | |
| github.event_name == 'workflow_run' && | |
| format('build {0} on {1}', github.event.workflow_run.display_title, github.event.workflow_run.head_branch) || | |
| 'unknown' | |
| }} | |
| on: | |
| workflow_run: | |
| workflows: ["pull-request-build"] | |
| types: [completed] | |
| pull_request_target: | |
| types: [opened, synchronize, ready_for_review] | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| triage: | |
| # Fork PRs can't pass claude-code-action's actor-write gate, so skip the | |
| # pull_request_target trigger for them — they get triaged via the | |
| # workflow_run path once pull-request-build completes (pre-Jul-2026 behavior). | |
| if: >- | |
| github.event_name != 'pull_request_target' || | |
| github.event.pull_request.head.repo.full_name == github.repository | |
| uses: HL7/fhir/.github/workflows/_pr-triage.yml@master | |
| with: | |
| label: "JiraSpec" | |
| to: "lloyd@lmckenzie.com" | |
| review_mode: "profile-only" | |
| secrets: inherit |