-
Okay, so I have created a reusable workflow for all my business jobs and and I am calling the reusable workflow in other repo within a private repo. When I try to run this workflow on github action, it throws a very strange error, credentials could not be loaded, but when I run the workflow without calling reusable it fetch the credential and works fine, Can anyone help me with this issue. @aws-dash @aws-sdk-osds @kanchana-aws @smithy
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Any news on this ? |
Beta Was this translation helpful? Give feedback.
-
Closing the discussion as it is solved. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Hi @cscetbon , so yeah it is resolved actually I forgot to answer here but I have made a gist on this topic here [https://gist.github.com/gulskr/c62b31ac1ce1f4defc5470bba8cab05c], but anyway in my case when I was calling that reusable workflow, I just have to inherit the secrets like this,
# Here you can see we have called the reusable_workflow.yml@main jobs: call-workflow-passing-data: uses: gulskr/Python-boto/.github/workflows/reusable_workflow.yml@main secrets: inherit
But i suggest you just see the gist and see the code, you will get to know the problem, If need any more help please mention me