Skip to content

docs: contents read permission is required for private repos #93

Description

@zimeg

Summary

📚 https://github.com/slackapi/slack-health-score?tab=readme-ov-file#workflow-setup

The example setup steps assume the repo used is public which allows the checkout step to succeed without a specific contents permission.

But this fails for private repos!

  permissions:
    checks: write
+   contents: read

We ought to recommend setting contents:read here 🙏 ✨

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions