Skip to content

Add a ci preview command

Administrator requested to merge jh/sg-ci-preview into main

Created by: jhchabran

$ # be on a branch with existing commits
$ sg ci preview 
If the current branch were to be pushed, the CI would run as following:
Detected run type: PullRequest
Detected Changed files (3):
	dev/sg/main.go
	dev/sg/sg_ci.go
	dev/sg/sg_logo.go
Detected changes:
	Affects Client: false
	Affects Go: true
	Affects Dockerfiles: false
	Affects GraphQL: false
	Affects SG: true
Computed Build Steps:
	:lipstick: Prettier
	:white_check_mark: Misc Linters
	:go: Test

Ideally, that'd be a module rather than an external command being called, but that'll do it for now. Worth looking at it again when/if we rework the ci API.

Merge request reports

Loading