Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ on:
pull_request:
jobs:
github:
permissions:
contents: read
issues: read
uses: rubykatzen/baseline/.github/workflows/github-shared.yml@v0.16.2
```

Expand All @@ -63,6 +66,9 @@ Baseline checks the repository settings and labels against
automatic branch deletion, auto-merge, and the canonical label set and colors.
Release Please labels are allowed but optional.

The caller grants both permissions because a reusable workflow can reduce its
caller's `GITHUB_TOKEN` permissions, but cannot elevate them.

## Check shared repository files

Create `.github/workflows/embedder.yml`:
Expand Down