-
Notifications
You must be signed in to change notification settings - Fork 73
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
Unexpected input(s) #10
Comments
I have same warning message. |
This is because from https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action#creating-an-action-metadata-file
You can ignore the warning for now. One way to avoid the warning is to find a way to pass the values as a defined input - but this would change the way this action works. |
OK so the problem is because we are using docker? @dherbst, I did not understand what the fix should be, nor your final sentence. Can you please give an example? I wanted to use this action so I could create an .env file in the same directory as my app (where my sources and docker files are), just like I would have on my local dev box. Does this action not do this? |
@proftom this is not an error, it is a warning. You can ignore the warning, the action will work when github runs it because the python file looks for environment variables with
The action does this for environment variables you name beginning with: |
Hmm I suppose the best course of action for this is to just document the behaviour in the Readme, as it seems that I can't add a wildcard to the expected input. If there are any other suggestions I'd be down to explore alternatives. |
I am also having this issue currently and it does have a warning, but github actions will not allow it to progress any further. Is there something I am doing wrong with the properties I am using?
Error I am receiving in action
|
I am facing issues with creating .env file. I am deploying my project using Google app engine. The project gets deployed but .env file is not created. Can you please help me with the issue. This is my main.yaml file-
Please check the output at https://github.com/khannakshat7/Elektra/actions/runs/888591866 |
I am facing issue while creating .env file |
You could just use
|
This kills the whole purpose of this action. |
Just create a secret with the whole env file and create the file directly: - name: Create .env file
run: echo "${{ secrets.PROD_FULL_ENV_FILE }}" > .env |
You can also adds many run: |
echo "USER=${{ secrets.USER }}" >> .env
echo "PASS=${{ secrets.PASS }}" >> .env |
Having structured data in a secret impedes Github's abilities to redact sensitive information from logging. This approach is not advised |
What if a JSON input was supported?
Perhaps keep backwards compatibility but add this as a new feature in v3 and let people update to this format if they wish to get rid of the warnings. |
I'm getting this error with the example provided. Any ideas how to solve it? Am I doing something wrong?
The text was updated successfully, but these errors were encountered: