Skip to content

Configure Actions access for Intility.DotnetApiDocs #147

@erlendellefsen

Description

The docs build (.github/workflows/docs.yml) restores Intility.DotnetApiDocs from the private GitHub Packages feed.

Intility.DotnetApiDocs will stay private for a while, so we can't drop the private feed dependency yet. But once this repo goes public, secrets.GITHUB_TOKEN of a public repo can no longer read private org packages by default.

Required action before flipping public

Configure GitHub Packages Actions access on the Intility.DotnetApiDocs package:

  1. Go to the Intility.DotnetApiDocs package page on GitHub
  2. Settings → Manage Actions access
  3. Add intility/json-api-toolkit with Read role

After that, GITHUB_TOKEN works from the public repo without needing a PAT.

GitHub docs reference

Long-term

When Intility.DotnetApiDocs is published to nuget.org, the source-url block in docs.yml can be dropped entirely.

Related: #143, #144
Blocks: making the repo public.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions