Skip to content

Cant run ast-grep 0.7.2 in github actions shell #500

Closed Answered by HerringtonDarkholme
q0w asked this question in Q&A
Discussion options

You must be logged in to vote

This is because sg scan is invoked from another process. Oh, GHA does not create TTY.

You can use --no-stdin to disable this behavior.

https://ast-grep.github.io/guide/tooling-overview.html#disable-stdin-mode

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@HerringtonDarkholme
Comment options

@q0w
Comment options

@HerringtonDarkholme
Comment options

@q0w
Comment options

Answer selected by q0w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants