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:

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

Fixed version:

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!
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:
Below you may find the version of the faulty dependency and which version introduces a fix:

Fixed version:

Proposed Solutions
Less intrusive: Use overrides for the os-name package to it's latest release
Requires core changes: Update @actions/github package to >=4.0.0, since it no longer depends on macos-release
Awaiting your thoughts!