FormidableLabs / FormidableLabs/formideploy

Bug: Detect read-only token for deployment API.

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.