Closed kalkir closed 2 years ago
@kalkir are you passing the authorization header as "Authorization: token <insert github/bearer token>"
?
Yes, that is correct.
On Wed, Aug 10, 2022, 3:46 AM Rabih Salamey @.***> wrote:
@kalkir https://github.com/kalkir are you passing the authorization header as `"Authorization: token <insert github/bearer token>"?
— Reply to this email directly, view it on GitHub https://github.com/convictional/trigger-workflow-and-wait/issues/54#issuecomment-1209946443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFCZPDOKL4W65DYO2KKDGFTVYLKDJANCNFSM55VPZ32Q . You are receiving this because you were mentioned.Message ID: @.***>
Could you supply the curl command (less private details) and provide an example of the call you are submitting?
Gonna close this issue due to inactivity
Hi,
When I tried to trigger another repo job, I am always getting 404, I have manually run the job using curl command to https://api.github.com it executed well. I am using correct github token, owner, user.
when I looked the entrypoint script the curl command is different, I had to pass -d '{"ref":"main"}', headers that I am passing are -H "Authorization: token ", -H "Accept: application/vnd.github.v3+json" , I noticed in the entrypoint it is using Bearer token. Can you help me to resolve the issue.