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

Workflow linter errors #81

Closed
saumier opened this issue Dec 15, 2023 · 5 comments
Closed

Workflow linter errors #81

saumier opened this issue Dec 15, 2023 · 5 comments
Assignees

Comments

@saumier
Copy link
Member

saumier commented Dec 15, 2023

How to fix these linter errors? The scripts are running ok. Its only the errors in the IDE.

Screenshot 2023-12-14 at 10 14 03 PM
@sahalali
Copy link
Contributor

@saumier I am using Webstorm IDE. I don't see any issue with my IDE.
@dev-aravind Can you check if you face this issue in your VS code IDE?
Let see if this is a common issue in VS code and happening to others as well.

@dev-aravind
Copy link
Contributor

@saumier I get some warnings in my problems tab but no error. May I know what linter are you using? I'm using the github-actions extension.

@dev-aravind dev-aravind assigned saumier and unassigned sahalali Dec 18, 2023
@dev-aravind dev-aravind added the question Further information is requested label Dec 18, 2023
@saumier
Copy link
Member Author

saumier commented Dec 19, 2023

@dev-aravind I am also using github-actions extension. When I disable this extension the errors go away. The YAML syntax is fine. There is something else that is causing the errors and I think we should get to the bottom of it. Maybe related to SpicyPizza/create-envfile#10

Image

@saumier saumier assigned dev-aravind and unassigned saumier Dec 19, 2023
@dev-aravind
Copy link
Contributor

@saumier List of the extensions on my machine :

Image

@saumier
Copy link
Member Author

saumier commented Dec 19, 2023

@dev-aravind @sahalali I took another look and saw the problem clearly.

The workflow is reporting the following warning when it runs:
Unexpected input(s) 'envkey_DATA_DOG_CLIENT_TOKEN', 'envkey_ENABLING_LOG_TO_DATA_DOG', 'envkey_CMS_REFERER_HEADER', valid inputs are ['entryPoint', 'args', 'file_name', 'directory', 'fail_on_empty']

This is also documented in the repo for SpicyPizza.

  1. @dev-aravind I am wondering why you are not seeing these errors in Visual Studio. Can you try again. If you can't then please send me your settings.json that contains all the configurations of your extensions (shortcut command + comma).
  2. Can we find a solution to Make envfile without generating these errors in the IDE and warnings when the scripts run? Maybe a different approach or different action?

@saumier saumier removed the question Further information is requested label Dec 26, 2023
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

No branches or pull requests

3 participants