Skip to content

Action failing on MacOS Ventura Self-Hosted Runner #113

@iatanasov37

Description

@iatanasov37

Hell there,

I've already opened a PR #112 with the first suggested solution from below in mind.

We have recently created a self-hosted runner with the following parameters:

Chip: Apple M1
MacOS: Ventura 13.5.1

Using that runner results in a failure of your action, due to a dependency of @actions/github - macos-release as seen in the stack trace below:

image

Below you may find the version of the faulty dependency and which version introduces a fix:
image

Fixed version:
image

Proposed Solutions

  • Less intrusive: Use overrides for the os-name package to it's latest release

    • Downside here is the fact that a new MacOS version is already in development and with it's release the action will require further maintenance
  • Requires core changes: Update @actions/github package to >=4.0.0, since it no longer depends on macos-release

    • Downside is that this bump leads to breaking changes with @octokit/rest and will require further review

Awaiting your thoughts!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions