Skip to content
Merged
Show file tree
Hide file tree
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
19 changes: 19 additions & 0 deletions .grant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ allow:
- BSD-3-Clause
- ISC

# Base OS packages of upstream container images that gh-aw executes (Alpine
# variants of the MCP server and runtime images). These packages ship with every
# Alpine base image, are never linked into or redistributed with gh-aw, and are
# therefore accepted as a documented policy exception. The allowlist above still
# applies to every other package in those images.
ignore-packages:
- alpine-baselayout
- alpine-baselayout-data
- apk-tools
- busybox
- busybox-binsh
- ca-certificates
- ca-certificates-bundle
- libapk
- musl-utils
- scanelf
- ssl_client
- zlib

4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,10 @@ The following licenses are **not allowed** as they conflict with our MIT license
- **SSPL** - Server Side Public License with restrictive requirements
- **Proprietary/Commercial** - Closed-source licenses requiring payment or special terms

### Container Base OS Packages

The license policy in `.grant.yaml` is also applied to the container images referenced by compiled workflows (`gh aw compile --grant`). Base OS packages that ship with the Alpine base image (`busybox`, `apk-tools`, `alpine-baselayout`, `musl-utils`, `scanelf`, `ssl_client`, `ca-certificates`, `zlib`, and their variants) are listed under `ignore-packages` as a documented exception: they are executed as part of a third-party image, never linked into or redistributed with gh-aw, and cannot be changed without replacing the upstream image. Every other package in those images is still evaluated against the allowlist above.

### Before Adding a Dependency

GitHub Copilot Agent automatically checks licenses when adding dependencies. However, if you're evaluating a dependency:
Expand Down
Loading