Skip to content

Allow agentic-wiki-writer Step 2c PRs for .github/agentic-wiki/** protected-path writes#326

Merged
dsyme merged 3 commits intomainfrom
copilot/fix-agentic-wiki-pr-creation
May 8, 2026
Merged

Allow agentic-wiki-writer Step 2c PRs for .github/agentic-wiki/** protected-path writes#326
dsyme merged 3 commits intomainfrom
copilot/fix-agentic-wiki-pr-creation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

agentic-wiki-writer can generate .github/agentic-wiki/PAGES.md on first run, but Step 2c PR creation was blocked because .github/ is protected by default. This caused create-pull-request to fail and downstream safe outputs (including wiki push) to be canceled.

  • Safe-output policy update (create-pull-request)

    • Scoped PR file writes to the template directory only:
      • allowed-files: [".github/agentic-wiki/**"]
    • Explicitly permitted protected-path writes for this output:
      • protected-files: allowed
  • Effect on workflow behavior

    • Step 2c can open the initial template PR for .github/agentic-wiki/PAGES.md instead of being rejected by default protected path-prefix policy.
    • The write scope remains tightly constrained to .github/agentic-wiki/**.
safe-outputs:
  create-pull-request:
    title-prefix: "[agentic-wiki]"
    labels: [documentation, automated]
    allowed-files:
      - ".github/agentic-wiki/**"
    protected-files: allowed

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/repos/actions/download-artifact/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/download-artifact/git/ref/tags/v8 --jq .object.sha (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.66.1
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.66.1 --jq .object.sha (http block)
  • https://api.github.com/repos/githubnext/agentics
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/agentics --jq .visibility (http block)

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

Copilot AI and others added 2 commits May 8, 2026 15:00
Agent-Logs-Url: https://github.com/githubnext/agentics/sessions/c611cae3-a5f9-49e6-823f-7aab0aec4a1b

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix PR creation issue for agentic-wiki due to protected path Allow agentic-wiki-writer Step 2c PRs for .github/agentic-wiki/** protected-path writes May 8, 2026
Copilot AI requested a review from pelikhan May 8, 2026 15:03
@dsyme dsyme marked this pull request as ready for review May 8, 2026 20:52
@dsyme dsyme merged commit 14a596a into main May 8, 2026
1 check passed
@dsyme dsyme deleted the copilot/fix-agentic-wiki-pr-creation branch May 8, 2026 20:52
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.

agentic-wiki-writer: Step 2c PR creation blocked by default .github/ protected path prefix

3 participants