culturecreates / footlight-aggregator

A tool to inject entities from Artsdata to footlight
0 stars 0 forks source link

Workflow linter errors #81

Closed saumier closed 7 months ago

saumier commented 11 months ago

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 commented 11 months ago

@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 commented 11 months ago

@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.

saumier commented 11 months ago

@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 https://github.com/SpicyPizza/create-envfile/issues/10

Image

dev-aravind commented 11 months ago

@saumier List of the extensions on my machine :

Image

saumier commented 11 months ago

@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?