FormidableLabs / FormidableLabs/formideploy
Bug: Detect read-only token for deployment API.
Open
bug
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Our [`lib/github/deployment.js`](https://github.com/FormidableLabs/formideploy/blob/master/lib/github/deployment.js) just checks the presence of a token to decide if it should attempt the deployment API. But in GH actions, there is a token, just a read-only one, so it actually fails.
Tasks:
- [ ] Detect read-only token and skip deployment actions
Contributor guide
Assessment
This issue has not been assessed yet.