Skip to content

Grant LintMonster update_issue permission for scheduled (non-issue-triggered) runs - #50050

Merged
pelikhan merged 2 commits into
mainfrom
copilot/deep-report-grant-lintmonster-update-issue-permiss
Aug 3, 2026
Merged

Grant LintMonster update_issue permission for scheduled (non-issue-triggered) runs#50050
pelikhan merged 2 commits into
mainfrom
copilot/deep-report-grant-lintmonster-update-issue-permiss

Conversation

Copilot AI commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

LintMonster's scheduled daily runs failed to refresh the authoritative function-length tracking issue (#49251) via update_issue, because the safe-output defaulted to target: "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-issue safe-output config: set target: "*" in .github/workflows/lint-monster.md, allowing updates to any issue matching the existing required-title-prefix: "[lint-monster] " filter, gated by the agent explicitly supplying issue_number.
  • Mission instructions: clarified that update_issue must be called with issue_number set explicitly, since this workflow has no triggering issue context to auto-target.
  • Lockfile: recompiled lint-monster.lock.yml to reflect the frontmatter change.
safe-outputs:
  update-issue:
    max: 10
    title-prefix: "[lint-monster] "
    target: "*"   # was defaulting to "triggering"

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Hey @copilot-swe-agent 👋 — thanks for starting work on granting LintMonster update_issue permissions for scheduled runs! This is a focused fix that'll keep the function-length tracker current automatically.

Since this is marked as WIP, here are some things to confirm as you progress:

  • Add actual code changes — The PR currently has 0 lines changed. Once you've identified the safe-output config changes needed (likely in LintMonster's workflow frontmatter/lockfile), push those changes.
  • Include tests if applicable — If the safe-output permission change requires validation or if there are related tests in the workflow suite, include those changes.
  • Verify the fix — Once deployed, confirm that scheduled LintMonster runs can now update issue [lint-monster] Authoritative function-length refactoring tracker #49251 without the "update_issue requires an issue context" error.

The description and context are clear, so once you have code changes ready, this should be good for review.

Grant LintMonster update_issue permission for scheduled (non-issue-triggered) runs:
1. Locate LintMonster's workflow safe-output configuration (likely .github/workflows or a lockfile)
2. Add update_issue permission with target issue #49251 for scheduled runs
3. Recompile/regenerate any lockfiles as needed
4. Verify the change allows scheduled runs to update the tracker without context errors

Generated by ✅ Contribution Check · auto · 48.7 AIC · ⌖ 5.57 AIC · ⊞ 8.8K ·

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Grant LintMonster update_issue permission for scheduled runs Grant LintMonster update_issue permission for scheduled (non-issue-triggered) runs Aug 3, 2026
Copilot AI requested a review from pelikhan August 3, 2026 17:37
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

PR Triage: #50050

  • Category: chore
  • Risk: low
  • Score: 42/100 (Impact 20 + Urgency 12 + Quality 10)
  • Recommended action: defer
  • Batch: pr-batch:draft-small

Draft, tiny permission fix (8+/7-) for LintMonster scheduled runs, no CI yet.

Generated by 🔧 PR Triage Agent · auto · 51.1 AIC · ⌖ 4.08 AIC · ⊞ 8K ·

@pelikhan
pelikhan marked this pull request as ready for review August 3, 2026 19:17
Copilot AI review requested due to automatic review settings August 3, 2026 19:17
@pelikhan
pelikhan merged commit 54ee398 into main Aug 3, 2026
@pelikhan
pelikhan deleted the copilot/deep-report-grant-lintmonster-update-issue-permiss branch August 3, 2026 19:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables scheduled LintMonster runs to update the authoritative tracking issue without triggering-issue context.

Changes:

  • Allows update_issue to 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

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[deep-report] Grant LintMonster update_issue permission for scheduled (non-issue-triggered) runs

3 participants