FormidableLabs / FormidableLabs/formideploy

Bug: Detect read-only token for deployment API.

Abierto
#39 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
JavaScript
Estrellas
7
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Read lib/github/deployment.js first and trace how token presence currently selects deployment API calls. Investigate how the GitHub Actions token’s read-only status can be identified, then verify that deployment actions are skipped for it while writable tokens still attempt deployment; no test file is named in the issue.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
api, devops
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.