Fix remediation trigger permission boundary for create-pr workflow#601
Fix remediation trigger permission boundary for create-pr workflow#601
Conversation
Ensure generated remediation triggers include `actions: read` while keeping discussions scope disabled by restoring the full issue-comment safe-output config in create-pr-from-issue. Made-with: Cursor
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThis PR modifies GitHub Actions workflow permissions and configurations across multiple files. It updates the Possibly related PRs
Suggested labels
✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
Summary
scripts/dogfood.shremediation generation logic so trigger workflows chained togh-aw-create-pr-from-issuealways includeactions: readat top-levelpermissions, while still elevatingcontents/pull-requeststowriteadd-commentsettings in.github/workflows/gh-aw-create-pr-from-issue.md(max: 1,issues: true,pull-requests: false,discussions: false).github/workflows/trigger-text-auditor.yml,.github/workflows/trigger-docs-patrol.yml,.github/workflows/trigger-framework-best-practices.yml, and.github/workflows/gh-aw-create-pr-from-issue.lock.ymlTest plan
make compilemake lint-workflowsactions: read.github/workflows/gh-aw-create-pr-from-issue.lock.ymlsafe-output jobs no longer requestdiscussions: writepermissionsThe body of this PR is automatically managed by the Trigger Update PR Body workflow.