Tags: github/gh-aw
Tags
lockdown: used only of one of user tokens is set (#15509) * only use lockdown mode if GH_AW_GITHUB_TOKEN is set * lockdown: false by dfault * lockdown: false by dfault * updates to lockdown * update lockdown logic * update lockdown logic * update lockdown logic * fix the tests * fix the tests * fix the tests * fixx formatting * fixx formatting * fixx formatting
Update close safe-output types to recommend comments and handle alrea… …dy-closed entities (#15489) * Initial plan * Update close types to recommend comments and support commenting on already-closed entities - Updated descriptions in safe_outputs_tools.json for close_issue, close_pull_request, and close_discussion - Modified handlers to still post comments if entity is already closed - Updated close_entity_helpers.cjs to support commenting on already-closed entities - Updated test to verify new behavior Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Update workflow lock files and documentation after safe_outputs_tools.json changes Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Add changeset [skip-ci] --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Fix add_comment handler to resolve temporary IDs before validation (#… …15459) * Initial plan * Fix add_comment handler to resolve temporary IDs in item_number field Resolves temporary IDs (e.g., aw_test01) in the item_number field before validation. Previously, the handler tried to parse temporary IDs as integers with parseInt(), which returned NaN and caused validation failures. Changes: - Import loadTemporaryIdMapFromResolved and resolveRepoIssueTarget from temporary_id.cjs - Use resolveRepoIssueTarget() to resolve item_number before validation - Handle deferred case when temporary ID is not yet resolved - Add comprehensive tests for temporary ID resolution in add_comment.test.cjs Tests added: - Should resolve temporary ID in item_number field - Should defer when temporary ID is not yet resolved - Should handle temporary ID with hash prefix - Should handle invalid temporary ID format - Should replace temporary IDs in comment body All tests pass (26 tests in add_comment.test.cjs). Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Add changeset [skip-ci] --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Codex <codex@example.com>
PreviousNext