Warning: There are environment variables missing from this runtime, but would be present on GitHub
I'm not sure what I did wrong or maybe a bug. Also I can't share the project but let me know if you need more info, I believe the usage is rather standard.
- name: Commit
uses: EndBug/add-and-commit@v9
with:
cwd: generated
default_author: github_actions
message: 'Update generated files'
fetch: false
Output:
Run EndBug/add-and-commit@v9
with:
cwd: generated
default_author: github_actions
message Update generated files
fetch: false
add: .
pathspec_error_handling: ignore
push: true
github_token: ***
Warning: There are environment variables missing from this runtime, but would be present on GitHub.
- HOME
Hi, it seems that this is a warning from https://github.com/JasonEtco/actions-toolkit, a library I'm using.
It seems like the HOME environment variable is missing, are you using a custom runner?
I'm using windows-latest, perhaps that's why, it's not Linux.
On Wed, Jul 5, 2023, 21:55 Federico Grandi @.***> wrote:
Hi, it seems that this is a warning from https://github.com/JasonEtco/actions-toolkit, a library I'm using.
It seems like the HOME environment variable is missing, are you using a custom runner?
— Reply to this email directly, view it on GitHub https://github.com/EndBug/add-and-commit/issues/516#issuecomment-1622300928, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMDRPHTMOONF2XDFLGNECLXOW2DJANCNFSM6AAAAAAZ7BPFD4 . You are receiving this because you authored the thread.Message ID: @.***>
Alright, I've opened an issue in the toolkit repo 👍🏻 https://github.com/JasonEtco/actions-toolkit/issues/160
Thanks for reporting that! @all-contributors please add @justanotheranonymoususer for their bug report
@EndBug
I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.
I've put up a pull request to add @justanotheranonymoususer! :tada: