Skip to content

Commit 2af815a

Browse files
committed
Make force a string
1 parent c9e22e9 commit 2af815a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/proxy-janky-build/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func main() {
4343
job := flag.String("job", "", "Name of the Janky job")
4444
token := flag.String("token", "", "Name of the Janky token")
4545
branch := flag.String("branch", "", "Name of the Git branch")
46-
force := flag.Bool("force", false, "Force a build even if one is already passed")
46+
force := flag.String("force", "false", "Force a build even if one is already passed")
4747
envVars := flag.String("envVars", "", "Comma separated list of key value pairs to pass to Janky - ex: key1=value1,key2=value2,key3=value3")
4848
flag.Parse()
4949

@@ -57,7 +57,7 @@ func main() {
5757
type buildRequestObject struct {
5858
BuildableName string `json:"buildable_name"`
5959
BranchName string `json:"branch_name"`
60-
Force bool `json:"force"`
60+
Force string `json:"force"`
6161
EnvVars map[string]string `json:"env_vars"`
6262
}
6363

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ jobs:
3737
janky-token: '${{ secrets.API_AUTH_TOKEN }}'
3838
job-name: '${{ matrix.jankyJobName }}'
3939
branch-name: '${{ env.TARGET_BRANCH }}'
40-
force : 'true'
40+
force : "true"
4141
envVars: "JANKY_ENV_BACKUP_UTILS_BRANCH=${{ env.SOURCE_BRANCH }}"

0 commit comments

Comments
 (0)