Skip to content

Bump absolute maximum for update_issue and update_discussion safe outputs to 256#21902

Merged
pelikhan merged 3 commits intomainfrom
copilot/update-max-items-safe-output
Mar 20, 2026
Merged

Bump absolute maximum for update_issue and update_discussion safe outputs to 256#21902
pelikhan merged 3 commits intomainfrom
copilot/update-max-items-safe-output

Conversation

Copy link
Contributor

Copilot AI commented Mar 20, 2026

The max field for update_issue and update_discussion safe output types was capped at 100 in the JSON schema, preventing workflows from configuring higher operation limits.

Changes

  • pkg/parser/schemas/main_workflow_schema.json: Raised "maximum" on the max field from 100256 for both update-issue and update-discussion safe output types
safe-outputs:
  update-issue:
    max: 256  # previously rejected; now valid
  update-discussion:
    max: 256  # previously rejected; now valid

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 g/workflow/safe_/home/REDACTED/.npm/_npx/b388654678d519d9/node_modules/.bin/prettier g/workflow/safe_--write x_amd64/vet g/wo�� h ../../../.pret.prettierignore g/workflow/safe_--log-level=error 64/pkg/tool/linux_amd64/vet (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 ikhan@users.nore/home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/pre�� (http block)
  • https://api.github.com/repos/actions-ecosystem/action-add-labels/contents/action.yaml
    • Triggering command: /usr/bin/gh gh api /repos/actions-ecosystem/action-add-labels/contents/action.yaml?ref=18f1af5e3544586314bbe15c0273249c770b2daf --jq .content json' --ignore-premote.origin.url /home/REDACTED/work/gh-aw/gh-aw/ 64/bin/go (http block)
  • https://api.github.com/repos/actions-ecosystem/action-add-labels/contents/action.yml
    • Triggering command: /usr/bin/gh gh api /repos/actions-ecosystem/action-add-labels/contents/action.yml?ref=18f1af5e3544586314bbe15c0273249c770b2daf --jq .content .git/ (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 --noprofile (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 ath ../../../.pr**/*.json --local 64/pkg/tool/linu../../../.prettierignore pull.rebase (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .visibility nt >/dev/null 2>&1 ute maximum for update_issue and update_discussi-ifaceassert ules/.bin/sh (http block)
  • https://api.github.com/repos/githubnext/agentics/git/ref/tags/
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/agentics/git/ref/tags/# --jq .object.sha xAllowed\|maxCou!../../../pkg/workflow/js/**/*.json .cfg 64/pkg/tool/linu../../../.prettierignore (http block)

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

Original prompt

Bump the absolute maximum of items in safe output update_issue and update_discussion to 256


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI changed the title [WIP] Update maximum items in safe output for discussion and issue Bump absolute maximum for update_issue and update_discussion safe outputs to 256 Mar 20, 2026
Copilot AI requested a review from pelikhan March 20, 2026 04:30
@pelikhan pelikhan marked this pull request as ready for review March 20, 2026 04:31
Copilot AI review requested due to automatic review settings March 20, 2026 04:31
@pelikhan pelikhan merged commit 7112bf0 into main Mar 20, 2026
61 checks passed
@pelikhan pelikhan deleted the copilot/update-max-items-safe-output branch March 20, 2026 04:33
Copy link
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 main workflow JSON schema to allow configuring higher max values for the update-issue and update-discussion safe output types.

Changes:

  • Increased the JSON schema "maximum" constraint for safe-outputs.update-issue.max from 100 to 256.
  • Increased the JSON schema "maximum" constraint for safe-outputs.update-discussion.max from 100 to 256.

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

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.

3 participants