convictional / trigger-workflow-and-wait

Trigger a workflow in another (or same) repository and wait for the job to finish.
MIT License
311 stars 151 forks source link

github_user input not url encoded #59

Closed tateexon closed 1 year ago

tateexon commented 1 year ago

When this kicks off a workflow using github_token: ${{ github.token }} the actor is github-actions[bot]. When passing that into the github_user input it will fail since it is not url encoded to github-actions%5Bbot%5D. I am currently working around this by url encoding the user myself. Would be nice for it to handle this itself although I understand this is probably a rare case since most people are probably using this to start private workflows and not public ones and thus would have a normal github_user name that doesn't need encoded.

rabih commented 1 year ago

I'm all for merging in a PR for this :). Seems like a pretty "rare" usecase indeed.

rabih commented 1 year ago

Closing due to inactivity