Skip to content

fix(daily-github-docs-seo-optimizer): allow bash to unblock safeoutputs and sub-agents#47979

Merged
pelikhan merged 3 commits into
mainfrom
copilot/aw-fix-daily-github-docs-seo-optimizer
Jul 25, 2026
Merged

fix(daily-github-docs-seo-optimizer): allow bash to unblock safeoutputs and sub-agents#47979
pelikhan merged 3 commits into
mainfrom
copilot/aw-fix-daily-github-docs-seo-optimizer

Conversation

Copilot AI commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

The workflow had bash: false, blocking the agent from calling safeoutputs and automation-request-generator via shell — causing repeated permission denials and engine termination.

Changes

  • daily-github-docs-seo-optimizer.md: bash: falsebash: ["*"]
    • Safe per policy: this workflow is schedule/workflow_dispatch only with no untrusted user input
  • daily-github-docs-seo-optimizer.lock.yml: recompiled from updated source
tools:
  github: false
- bash: false
+ bash: ["*"]
  edit: false

Copilot AI and others added 2 commits July 25, 2026 11:08
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix permission denied issues in daily GitHub Docs SEO optimizer fix(daily-github-docs-seo-optimizer): allow bash to unblock safeoutputs and sub-agents Jul 25, 2026
@pelikhan
pelikhan marked this pull request as ready for review July 25, 2026 11:12
Copilot AI review requested due to automatic review settings July 25, 2026 11:12
Copilot AI requested a review from pelikhan July 25, 2026 11:12
@pelikhan
pelikhan merged commit c8b7936 into main Jul 25, 2026
@pelikhan
pelikhan deleted the copilot/aw-fix-daily-github-docs-seo-optimizer branch July 25, 2026 11:12
Copilot stopped reviewing on behalf of pelikhan due to an error July 25, 2026 11:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

This PR updates the “Daily GitHub Docs SEO Optimizer” workflow configuration to broaden tool permissions and regenerates the corresponding lockfile, alongside minor formatting changes in an ESLint rule.

Changes:

  • Expand workflow tool permissions (enable bash broadly; switch Copilot SDK args to --allow-all-tools).
  • Regenerate workflow lockfile metadata (updated hashes / container digest).
  • Reformat conditional checks in require-fetch-try-catch rule into single-line expressions.
Show a summary per file
File Description
eslint-factory/src/rules/require-fetch-try-catch.ts Collapses multi-line if conditions into single lines.
.github/workflows/daily-github-docs-seo-optimizer.md Changes tool policy to allow bash via wildcard.
.github/workflows/daily-github-docs-seo-optimizer.lock.yml Regenerates lockfile and changes Copilot SDK tool-allow policy to --allow-all-tools plus image digest updates.

Review details

Tip

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

  • Files reviewed: 3/3 changed files
  • Comments generated: 4
  • Review effort level: Low

ancestors[i - 1].type === AST_NODE_TYPES.CallExpression &&
ancestors[i - 2].type === AST_NODE_TYPES.AwaitExpression
) {
if (i >= 2 && ancestors[i - 1].type === AST_NODE_TYPES.CallExpression && ancestors[i - 2].type === AST_NODE_TYPES.AwaitExpression) {
outerAwait.range[0] >= block.range[0] &&
outerAwait.range[1] <= block.range[1]
) {
if (outerAwait.range != null && block.range != null && outerAwait.range[0] >= block.range[0] && outerAwait.range[1] <= block.range[1]) {
tools:
github: false
bash: false
bash: ["*"]
Comment on lines 731 to 735
COPILOT_MODEL: gpt-5.4
COPILOT_SDK_URI: http://127.0.0.1:3002
GH_AW_COPILOT_SDK_DRIVER: 1
GH_AW_COPILOT_SDK_SERVER_ARGS: '["--headless","--no-auto-update","--port","3002","--add-dir","/tmp/gh-aw/","--log-level","all","--log-dir","/tmp/gh-aw/sandbox/agent/logs/","--disable-builtin-mcps","--no-ask-user","--allow-tool","safeoutputs","--allow-tool","write","--no-custom-instructions"]'
GH_AW_COPILOT_SDK_SERVER_ARGS: '["--headless","--no-auto-update","--port","3002","--add-dir","/tmp/gh-aw/","--log-level","all","--log-dir","/tmp/gh-aw/sandbox/agent/logs/","--disable-builtin-mcps","--no-ask-user","--allow-all-tools","--no-custom-instructions"]'
GH_AW_LLM_PROVIDER: github
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.3

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.

[aw] Daily GitHub Docs SEO Optimizer is missing required tool

3 participants