Skip to content

[WIP] Update remove_labels allowed list configuration#11044

Merged
pelikhan merged 2 commits intocopilot/update-smoke-labelfrom
copilot/configure-remove-labels-allowed-list
Jan 21, 2026
Merged

[WIP] Update remove_labels allowed list configuration#11044
pelikhan merged 2 commits intocopilot/update-smoke-labelfrom
copilot/configure-remove-labels-allowed-list

Conversation

Copy link
Contributor

Copilot AI commented Jan 21, 2026

Fix remove-labels configuration in smoke-codex workflow

Problem: The smoke-codex workflow was missing the remove-labels configuration in its safe-outputs section, causing the workflow to fail when trying to remove labels.

Solution:

  • Add remove-labels configuration with allowed: [smoke] to smoke-codex.md
  • Recompile the workflow to update smoke-codex.lock.yml
  • Verify the configuration in the compiled file
  • Run pre-commit validation (make agent-finish)

Changes Made:

  • Added remove-labels: { allowed: [smoke] } to .github/workflows/smoke-codex.md
  • Recompiled workflow to update .github/workflows/smoke-codex.lock.yml
  • The remove_labels tool is now properly listed in available tools
  • Configuration JSON includes "remove_labels":{"allowed":["smoke"],"max":3}

Reference: https://github.com/githubnext/gh-aw/actions/runs/21215591937/job/61036204152#step:6:1

This ensures the workflow can properly remove the "smoke" label after processing, matching the pattern used in smoke-copilot.md.

Original prompt

Reference: https://github.com/githubnext/gh-aw/actions/runs/21215591937/job/61036204152#step:6:1

Make sure the remove_labels allowed list is properly configured in the step. It should not be empty and it should have "smoke"


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review January 21, 2026 16:14
@pelikhan pelikhan merged commit 0110833 into copilot/update-smoke-label Jan 21, 2026
@pelikhan pelikhan deleted the copilot/configure-remove-labels-allowed-list branch January 21, 2026 16:14
Copilot AI requested a review from pelikhan January 21, 2026 16:15
Copilot stopped work on behalf of pelikhan due to an error January 21, 2026 16:15
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.

2 participants