Skip to content

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

Open

Description

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

Activity

  1. EndBug commented on Jul 5, 2023

    @EndBug
    Owner

    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?

  2. justanotheranonymoususer commented on Jul 5, 2023

    @justanotheranonymoususer
    Author
  3. added
    type: bugVerified problems that need to be worked on
    status: pinnedShould not be labeled as stale
    and removed
    status: pendingMore info is needed before deciding what to do
    on Jul 6, 2023
  4. self-assigned this
    on Jul 6, 2023
  5. EndBug commented on Jul 6, 2023

    @EndBug
    Owner

    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

  6. allcontributors commented on Jul 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersstatus: pinnedShould not be labeled as staletype: bugVerified problems that need to be worked on

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions