Repository navigation
Allow release workflow to dispatch artifact builds - #149
Conversation
|
Warning Review limit reachedNext included review available in 33 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Comment |
There was a problem hiding this comment.
🟢 Approval recommended
The change is minimal, correctly scoped to the documented failure mode (workflow dispatch requiring actions: write), and aligns with the workflow’s existing use of gh for release automation.
Pull request overview
Enables the release.yml workflow to programmatically dispatch downstream artifact-build workflows (CLI AOT, GUI AOT, and NuGet publish) using gh workflow run, addressing the prior 403 “Resource not accessible by integration” failure during releases.
Changes:
- Grant the release workflow
actions: writepermission soGH_TOKEN: ${{ github.token }}can dispatch other workflows viagh workflow run.
File summaries
| File | Description |
|---|---|
| .github/workflows/release.yml | Adds permissions: actions: write so the release workflow can trigger downstream artifact workflows via GitHub CLI. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Summary
actions: writepermissiongh workflow runcommands to dispatch CLI AOT, GUI AOT, and NuGet workflowsEvidence
The v0.42.0 release run completed build, tests, citation update, and GitHub Release creation, then failed in
Start release artifact workflowswith HTTP 403Resource not accessible by integration.Failed run: https://github.com/mini-software/MiniPdf/actions/runs/34086598272
The v0.42.0 downstream workflows were manually dispatched to complete the release.