Open bhundven opened 12 months ago
@bhundven hmm good idea, will try to investigate how to handle it, because currently Action uses native GitHub SDK to determine actionlint version and the last thing what I want to do is to write own logic to do that.
@DariuszPorowski I got some ideas on how to fix this. I'll try and get a PR together.
@bhundven Did you ever find the time to investigate this issue further or did you find a workaround? I'm in a similar situation.
@frederikb No, I haven't had time.
I think this depends on #11
@frederikb @bhundven just working on potential solution. In theory should works. Unfortunately, I do not have access to GHE so cannot fully test. https://github.com/raven-actions/actionlint/pull/22
p.s. @bhundven It does not depend on https://github.com/raven-actions/actionlint/issues/11 composite/js action after all use the same GH api.
Thanks, @DariuszPorowski . I'll try to find some time next week to look through the changes and test drive it on a GHES instance.
🐛 What happened?
Environmnet:
The action is trying to look for the latest version of
rhysd/actionlint
on our local GHES instance. Of course it is not there. I don't see a way to set the url to point athttps://github.com/
instead.🔬 How to reproduce?
See code sample/log
🏗️ Code Sample / Log
Workflow:
Output:
🌌 Environment (actionlint action)
1.0.2
🌌 Environment (actionlint)
1.6.26
🌌 Environment (GitHub Runner OS)
Linux
📷 Screenshots
No response
📈 Expected behavior
It would by default pull from github.com, and allow you to set the URL of your github instance in case you do want to use a local version of
rhysd/actionlint
📎 Additional context
No response
📜 Code of Conduct