Grant LintMonster update_issue permission for scheduled (non-issue-triggered) runs - #50050
Conversation
|
Hey Since this is marked as WIP, here are some things to confirm as you progress:
The description and context are clear, so once you have code changes ready, this should be good for review.
|
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
PR Triage: #50050
Draft, tiny permission fix (8+/7-) for LintMonster scheduled runs, no CI yet.
|
There was a problem hiding this comment.
Pull request overview
Enables scheduled LintMonster runs to update the authoritative tracking issue without triggering-issue context.
Changes:
- Allows
update_issueto target matching issues. - Requires an explicit
issue_number. - Recompiles the generated workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/lint-monster.md |
Updates safe-output configuration and mission instructions. |
.github/workflows/lint-monster.lock.yml |
Reflects the recompiled configuration. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
|
🎉 This pull request is included in a new release. Release: |
LintMonster's scheduled daily runs failed to refresh the authoritative function-length tracking issue (#49251) via
update_issue, because the safe-output defaulted totarget: "triggering", which requires an issue-triggered event context. Since the workflow runs on a schedule, every attempt was rejected and it could only fall back to posting a disconnected discussion report.Changes
update-issuesafe-output config: settarget: "*"in.github/workflows/lint-monster.md, allowing updates to any issue matching the existingrequired-title-prefix: "[lint-monster] "filter, gated by the agent explicitly supplyingissue_number.update_issuemust be called withissue_numberset explicitly, since this workflow has no triggering issue context to auto-target.lint-monster.lock.ymlto reflect the frontmatter change.