hatch icon indicating copy to clipboard operation
hatch copied to clipboard

GitHub Action not working on self-hosted runners

Open hutec opened this issue 9 months ago • 1 comments

Due to https://github.com/actions/runner/issues/716, the GitHub Action can not be used on self-hosted runners.

This could be fixed by either allowing to overwrite the action path like https://github.com/swaggerexpert/swagger-editor-validate/pull/627 or by using ${GITHUB_ACTION_PATH} instead of ${{ github.action_path }} (like https://github.com/morph027/apt-repo-action/pull/7)

hutec avatar Mar 20 '25 14:03 hutec

Thanks! Would you mind opening a PR and test the latter approach? https://github.com/pypa/hatch/blob/257e27e51a6a5616ed08a39a408a21c35c9931bc/action.yml#L17

ofek avatar Mar 20 '25 14:03 ofek