Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable dotenv linter error #990

Merged
merged 3 commits into from
Jan 10, 2025
Merged

Disable dotenv linter error #990

merged 3 commits into from
Jan 10, 2025

Conversation

ncalteen
Copy link
Collaborator

@ncalteen ncalteen commented Jan 2, 2025

The dotenv-linter tool included in Super-Linter flags a IncorrectDelimiter in the example file, .env.example used by local-action. In GitHub Actions, inputs are set as environment variables following INPUT_<name as uppercase> format. E.g. if the input is called my-input in action.yml, this will be set as INPUT_MY-INPUT. The dotenv linter doesn't like this format, so this rule should be disabled.

Closes #985

@ncalteen ncalteen self-assigned this Jan 2, 2025
@ncalteen ncalteen requested a review from a team as a code owner January 2, 2025 18:03
@ncalteen ncalteen force-pushed the ncalteen/delimiter branch from 8a21997 to a32fdff Compare January 2, 2025 18:07
Copy link
Contributor

@thboop thboop left a comment

Choose a reason for hiding this comment

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

lgtm

@ncalteen ncalteen merged commit e29f035 into main Jan 10, 2025
23 checks passed
@ncalteen ncalteen deleted the ncalteen/delimiter branch January 10, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linter rejects .env.example file
2 participants