Closed kribor closed 2 years ago
Our long-standing uses of this action suddenly started failing in the last 2 days with this same error message, so I get the feeling this is the result of a change, inadvertent or not.
We don't have any functions, so I'm not sure why our deploy process would need permission to list functions.
Yep, it's a bug introduced in an upstream release 6 hours ago: https://github.com/firebase/firebase-tools/issues/5071
Same for us :( We also have troubles during deployment caused exactly the same error.
Same issue on my side 😕
Looking comments on other issues ( #203 ) i created my own action, forking this one, and pining the firebase-tools version to previous one ( 11.13.0 )
You can find my solution here https://github.com/AurelienLoyer/action-hosting-deploy/commit/fbc5bbeb83621c290d5cbb21650ffb25386979d4
And i replace this in my projet
This has been fixed upstream. I believe this issue can be closed now.
Action config
Error message
Relevant part of deployment error:
Error: HTTP Error: 403, Permission 'cloudfunctions.functions.list' denied on 'projects/natural-cycles/locations/-/functions'
Expected behavior
Successful deployment
Actual behavior
Failed deployment
Proposed solution
Add another role to documentation: https://github.com/FirebaseExtended/action-hosting-deploy/blob/main/docs/service-account.md that includes
cloudfunctions.functions.list
. AddingFirebase Develop Admin
works but may not be "minimal required"