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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Disable dotenv linter error #990

wants to merge 1 commit into from

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
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
1 participant