Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile act cmd package with a built tag to grab gh cli auth and host info automatically #8

Open
ChristopherHX opened this issue Dec 21, 2024 · 3 comments

Comments

@ChristopherHX
Copy link

We could even detect a ghes authenticated by this package

https://pkg.go.dev/github.com/cli/go-gh/[email protected]/pkg/auth#TokenForHost

As of the current state of this project I'm only documenting it here

Expected outcome

we conditionally add gh cli interop code into the cmd package and adjust defaults and including the GITHUB_TOKEN secret and the github enterprise flags

@ChristopherHX
Copy link
Author

Some of this stuff is done externally via scripts here: srz-zumix/gh-act

It's interesting to note gh extension search nektos does not even find this nektos act extension, but the older third party one....

@jsoref
Copy link
Contributor

jsoref commented Jan 5, 2025

To fix gh extension search nektos, the description field needs to be changed. I'd suggest:

-GitHub CLI Extension to run GitHub actions locally
+GitHub CLI Extension to run GitHub actions locally using nektos/act

@cplee

@cplee
Copy link
Contributor

cplee commented Jan 5, 2025

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants