Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearly document necessary permissions for workflow #460

Closed
TigranKhudav opened this issue Jun 20, 2022 · 7 comments
Closed

Clearly document necessary permissions for workflow #460

TigranKhudav opened this issue Jun 20, 2022 · 7 comments
Labels
documentation This is an issue with documentation effort/small This issue will take less than a day of effort to fix p1

Comments

@TigranKhudav
Copy link

Hi I have a this problem on the reusable workflow
image

this is my workflow
image

@imranshaikmuma
Copy link

I am facing the same issue

@Dgame
Copy link

Dgame commented Jun 24, 2022

Solved it somehow by using @master instead of @v1

@TigranKhudav
Copy link
Author

@Dgame I tried that, but in vain
I find solution you need to add this secrets: inherit
In my case hire
image

@peterwoodworth peterwoodworth added the needs-triage This issue still needs to be triaged label Oct 1, 2022
@parisnakitakejser
Copy link

i think you need

permissions:
  id-token: write
  contents: read

Its what i needed in my case.

@vreddhi
Copy link

vreddhi commented Nov 28, 2022

i think you need

permissions:
  id-token: write
  contents: read

Its what i needed in my case.

This worked for me as well

@peterwoodworth peterwoodworth added documentation This is an issue with documentation p1 effort/small This issue will take less than a day of effort to fix and removed needs-triage This issue still needs to be triaged labels Feb 21, 2023
@peterwoodworth peterwoodworth changed the title Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers Clearly document necessary permissions for workflow Feb 21, 2023
@peterwoodworth
Copy link
Contributor

This is now documented better, and there is a helpful message that shows in the workflow logs if it's likely you need to enable this permission in v3

@github-actions
Copy link

** Note **
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This is an issue with documentation effort/small This issue will take less than a day of effort to fix p1
Projects
None yet
Development

No branches or pull requests

6 participants