errata-ai / vale-action

:octocat: The official GitHub Action for Vale -- install, manage, and run Vale with ease.
MIT License
201 stars 51 forks source link

feat: allow to override default sha when using action in a post-workflow #50

Closed benoitf closed 2 years ago

benoitf commented 2 years ago

Action runs smoothly when using pull_request/push events

but it does not work well when using completed workflow

In order to use this action using forked repositories, there are two ways

I'm fine if you prefer to introduce a new input parameter for that.

jdkato commented 2 years ago

I'm fine if you prefer to introduce a new input parameter for that.

Where is $pr_sha coming from in your example?

jdkato commented 2 years ago

Sorry for the delay here.

After the last comment, this kind of fell off my radar.

benoitf commented 2 years ago

thanks @jdkato