Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

The audit and logs tools in the agentic-workflows MCP server require write+ repository access, but this was undocumented. Users with read/triage roles would encounter permission denied errors without understanding why.

Changes

Setup Guide (setup/mcp-server.md):

  • Added CAUTION block documenting role requirements (write, maintain, or admin) in "Using as Agentic Workflows Tool" section
  • Added WARNING blocks to logs and audit tool descriptions
  • Included example error response for insufficient permissions
  • Clarified other tools (status, compile, etc.) are available to all users

Reference Documentation:

  • Updated permissions.md to note role requirements for audit/logs tools
  • Updated tools.md with role requirement notice in Agentic Workflows section

Permission Requirements

permissions:
  actions: read  # GitHub Actions access

# Additionally, workflow actor must have:
# - write, maintain, or admin repository role
# - GITHUB_ACTOR environment variable (auto-provided in Actions)

Runtime validation uses GitHub API: GET /repos/{owner}/{repo}/collaborators/{username}/permission

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:

  • telemetry.astro.build
    • Triggering command: /opt/hostedtoolcache/node/24.13.0/x64/bin/node node /home/REDACTED/work/gh-aw/gh-aw/docs/node_modules/.bin/astro build (dns block)
    • Triggering command: /opt/hostedtoolcache/node/24.13.0/x64/bin/node node /home/REDACTED/work/gh-aw/gh-aw/docs/node_modules/.bin/astro build ocs/examples/multi-repo/feature-53 ocs/�� ocs/examples/manual.md ocs/examples/multi-repo.md ocs/examples/scheduled.md ocs/examples/comsh ocs/examples/iss-c ocs/examples/agenode install.js ocs/setup/creating-workflows.mdx ocs/�� ocs/setup/mcp-server.md ocs/setup/cli.md bin/git (dns block)

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


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot stopped work on behalf of pelikhan due to an error February 12, 2026 15:40
Copilot stopped work on behalf of pelikhan due to an error February 12, 2026 15:40
Copilot stopped work on behalf of pelikhan due to an error February 12, 2026 15:40
Copilot AI and others added 2 commits February 12, 2026 15:45
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…s tool

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Document roles requirement for audit/logs tool access Document role requirements for audit/logs tools in agentic-workflows Feb 12, 2026
Copilot AI requested a review from pelikhan February 12, 2026 15:48
@pelikhan pelikhan marked this pull request as ready for review February 12, 2026 15:59
Copilot AI review requested due to automatic review settings February 12, 2026 15:59
@pelikhan pelikhan merged commit 71fdbb5 into main Feb 12, 2026
75 of 76 checks passed
@pelikhan pelikhan deleted the copilot/document-audit-logs-access-requirements branch February 12, 2026 16:03
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