mirror of
https://github.com/Kong/insomnia.git
synced 2026-11-05 04:23:55 -05:00
* ci(ksai): start a KSAI run only for people who can write to the repository A comment or review now starts the KSAI run job only when its author can write to this repository. A new authorize job reads the author's permission with the workflow token, and the run job needs it. A dispatched run starts as before. Signed-off-by: Bart Smykla <bartek@smykla.com> * ci(ksai): fail the authorize step when the permission read fails A failed permission read used to answer writes=false with a green job, so a writer's comment started nothing and the log said nothing. The step now fails on a read error, the run job still does not start, and the log names the error. An author who cannot write still reads as writes=false. Signed-off-by: Bart Smykla <bartek@smykla.com> --------- Signed-off-by: Bart Smykla <bartek@smykla.com>