Add add-comment, noop, and staged safe-outputs to stale-repo-identifier#29515
Merged
Add add-comment, noop, and staged safe-outputs to stale-repo-identifier#29515
Conversation
…ntifier Agent-Logs-Url: https://github.com/github/gh-aw/sessions/bd26f9ca-071c-4019-b42e-5123bccc04a1 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
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
Contributor
There was a problem hiding this comment.
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) andnoop. - 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
stale-repo-identifierworkflow 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 failuressafe-outputs.staged: true— puts all safe outputs into staged mode as requestedWarning
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/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)/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)/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/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/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/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/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: