Skip to content

Add add-comment, noop, and staged safe-outputs to stale-repo-identifier#29515

Merged
pelikhan merged 2 commits intomainfrom
copilot/add-comment-noop-safe-outputs
May 1, 2026
Merged

Add add-comment, noop, and staged safe-outputs to stale-repo-identifier#29515
pelikhan merged 2 commits intomainfrom
copilot/add-comment-noop-safe-outputs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 1, 2026

The stale-repo-identifier workflow was missing safe-output declarations for commenting on existing issues and signaling a no-op result, and lacked staged mode.

Changes

  • safe-outputs.add-comment: max: 5 — enables the agent to comment on existing stale repo issues (e.g. updates on re-runs)
  • safe-outputs.noop: — allows clean exit signaling when no stale repos are found, avoiding spurious failures
  • safe-outputs.staged: true — puts all safe outputs into staged mode as requested
safe-outputs:
  staged: true
  create-issue:
    ...
  add-comment:
    max: 5
  noop:
  upload-artifact:
    ...

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw t.md (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw ue-base.md (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Add add-comment and noop safe-outputs to stale-repo-identifier Add add-comment, noop, and staged safe-outputs to stale-repo-identifier May 1, 2026
Copilot AI requested a review from pelikhan May 1, 2026 10:39
@pelikhan pelikhan marked this pull request as ready for review May 1, 2026 10:41
Copilot AI review requested due to automatic review settings May 1, 2026 10:41
@pelikhan pelikhan merged commit cfb203a into main May 1, 2026
18 checks passed
@pelikhan pelikhan deleted the copilot/add-comment-noop-safe-outputs branch May 1, 2026 10:41
@github-actions github-actions Bot mentioned this pull request May 1, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the stale-repo-identifier workflow configuration to support additional safe-outputs capabilities (commenting, no-op signaling) and to run safe-outputs in staged mode.

Changes:

  • Enable staged safe-outputs mode for stale-repo-identifier.
  • Add safe-outputs declarations for add-comment (max 5) and noop.
  • Regenerate the workflow lockfile to reflect the updated safe-outputs/tooling configuration.
Show a summary per file
File Description
.github/workflows/stale-repo-identifier.md Adds safe-outputs.staged, declares add-comment and noop in the workflow frontmatter.
.github/workflows/stale-repo-identifier.lock.yml Updates compiled safe-outputs tool list/config, enables staged-mode env flags, and aligns permissions/artifacts handling with staged safe-outputs.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[q] Add add-comment and noop safe-outputs to stale-repo-identifier

3 participants