Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Warning: There are environment variables missing from this runtime, but would be present on GitHub #516

Open
justanotheranonymoususer opened this issue Jul 5, 2023 · 4 comments
Assignees
Labels
good first issue Good for newcomers status: pinned Should not be labeled as stale type: bug Verified problems that need to be worked on

Comments

@justanotheranonymoususer

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

image

@justanotheranonymoususer justanotheranonymoususer added the status: pending More info is needed before deciding what to do label Jul 5, 2023
@EndBug
Copy link
Owner

EndBug commented Jul 5, 2023

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?

@justanotheranonymoususer
Copy link
Author

@EndBug EndBug added type: bug Verified problems that need to be worked on good first issue Good for newcomers status: pinned Should not be labeled as stale and removed status: pending More info is needed before deciding what to do labels Jul 6, 2023
@EndBug EndBug self-assigned this Jul 6, 2023
@EndBug
Copy link
Owner

EndBug commented Jul 6, 2023

Alright, I've opened an issue in the toolkit repo 👍🏻
JasonEtco/actions-toolkit#160

Thanks for reporting that!
@all-contributors please add @justanotheranonymoususer for their bug report

@allcontributors
Copy link
Contributor

@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! 🎉

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers status: pinned Should not be labeled as stale type: bug Verified problems that need to be worked on
Projects
None yet
Development

No branches or pull requests

2 participants