Skip to content

feat: support includes an excludes (#12) - #13

Merged
schroedan merged 1 commit into
mainfrom
feat/includes-and-excludes
Aug 26, 2026
Merged

feat: support includes an excludes (#12)#13
schroedan merged 1 commit into
mainfrom
feat/includes-and-excludes

Conversation

@schroedan

Copy link
Copy Markdown
Contributor

Closes #12

Copilot AI lite review requested due to automatic review settings August 26, 2026 20:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds opt-in filtering for which _FILE-suffixed environment variables fileenv will resolve, to support common cases where a base image sets unrelated *_FILE variables (e.g., SSL_CERT_FILE).

Changes:

  • Introduces FILEENV_EXCLUDE and FILEENV_INCLUDE configuration (mutually exclusive) and applies filtering during environment scan.
  • Adds a small parser for comma-separated include/exclude lists.
  • Documents the new configuration options and an example use case in the README.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
README.md Documents FILEENV_EXCLUDE / FILEENV_INCLUDE, their mutual exclusivity, and an example excluding SSL_CERT_FILE.
main.go Implements include/exclude config parsing and filtering during _FILE variable resolution.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@schroedan
schroedan merged commit 50ec144 into main Aug 26, 2026
3 checks passed
@schroedan
schroedan deleted the feat/includes-and-excludes branch August 26, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Support includes and excludes

2 participants