Skip to content

Plan a future GitHub pull request check with minimal permissions #5

Open

Description

@Muawiya-contact

Why

Pull request feedback could make DocHeal useful during review, but the repository first needs a working local checker and a clear security boundary.

Scope

Write a design note for running the local checker on a pull request. Compare a GitHub Action and a GitHub App at a high level. State the minimum permissions needed for reading changes and, separately, for posting feedback. Explain how untrusted pull request code and secrets would be handled. Recommend a first integration path based on the local tool's actual interface.

Acceptance criteria

  • The note describes input, output, trigger, and permission flow.
  • Read-only analysis and optional write-back permissions are separated.
  • Forked pull requests and untrusted code are addressed.
  • The recommendation names what remains unknown or must be tested.

Testing

Review permission claims against current GitHub documentation when this issue is started. No workflow or app installation is required here.

Sequencing

Start after the first local checker proves the workflow. Implementing or deploying an integration is out of scope.

Activity

  1. added
    enhancement
    architecture
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions