FormidableLabs / FormidableLabs/formideploy

Bug: Detect read-only token for deployment API.

Offen
#39 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
7
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.