Skip to content

[CHORE] Harden repository-dispatch permissions and align CI trigger docs #340

Closed

Description

@c-vigo

Chore Type

CI / Build change

Description

Address two Copilot review findings from the smoke-test dispatch workflow update:

  1. Scope token permissions to least privilege in .github/workflows/repository-dispatch.yml.
  2. Align header comments with actual CI workflows triggered on deploy PRs.

Source:

Acceptance Criteria

  • Workflow-level permissions are reduced to least privilege (contents: read or {}).
  • Job-level contents: write is granted only where required (publish-release).
  • repository_dispatch triggering remains unchanged after permission scoping.
  • Header comment accurately reflects current CI workflows that run on deploy PRs.
  • Changes remain minimal and limited to the workflow file.

Implementation Notes

  • Target file: .github/workflows/repository-dispatch.yml
  • Keep runtime behavior unchanged except permission scoping.
  • Prefer wording in comments that minimizes future drift.

Related Issues

Priority

Medium

Changelog Category

Security

Additional Context

This combines both Copilot findings into one focused hardening/consistency task to keep tracking overhead low.

Activity

  1. added
    chore
    priority:medium
    area:ci
    effort:small
    semver:patch
    security
    on Mar 17, 2026
  2. self-assigned this
    on Mar 17, 2026
  3. added a commit that references this issue on Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cichoreeffort:smallpriority:mediumsecuritysemver:patch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions