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

Curl errors #83

Closed dstuck closed 1 year ago

dstuck commented 1 year ago

I'm getting an error that appears to be due to curl:

Getting workflow runs using query: event=workflow_dispatch&created=>=2023-03-21T20:27:10+00:00&actor=&per_page=100
curl: (16) Error in the HTTP2 framing layer
api failed:
path: workflows/deploy.yml/runs?event=workflow_dispatch&created=>=2023-03-21T20:27:10+00:00&actor=&per_page=100
response: 

This is happening in v1.6.5 and 1.6.4 consistently. It appears to be related to the curl install which is being baked into the image I believe so not sure if there's anything I can change on the config side to work around it

dstuck commented 1 year ago

I'll leave this here for anyone else hitting something like this, but it turns out I was passing in an ssh key rather than PAT. I do think that this failure mechanism is probably actually hitting a bug, but it only ended up in that state because of a previous user error so I'm going to close this issue out