Skip to content

Commit

Permalink
internal/ci: rename base parameter field name
Browse files Browse the repository at this point in the history
Corresponding change in usage from workflows.cue

This change should not result in any .github/workflows changes.

Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: Ie4d54e8e43fceb1f306ecf474e95cae5d2887da6
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/551629
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
  • Loading branch information
myitcv committed Mar 26, 2023
1 parent 0290e04 commit cdd5730
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/ci/base/base.cue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
)

// Package parameters
#repositoryURL: string
#githubRepositoryURL: string
#defaultBranch: string
#testDefaultBranch: "ci/test"
#botGitHubUser: string
Expand Down Expand Up @@ -168,7 +168,7 @@ import (
run: "test -z \"$(git status --porcelain)\" || (git status; git diff; false)"
}

let _#repositoryURL = #repositoryURL
let _#repositoryURL = #githubRepositoryURL
let _#botGitHubUser = #botGitHubUser
let _#botGitHubUserTokenSecretsKey = #botGitHubUserTokenSecretsKey

Expand Down
2 changes: 1 addition & 1 deletion internal/ci/github/workflows.cue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ _gerrithub: gerrithub & {
// Perhaps rename the import to something more obviously not intended to be
// used, and then rename the field base?
_base: base & {
#repositoryURL: core.githubRepositoryURL
#githubRepositoryURL: core.githubRepositoryURL
#defaultBranch: core.defaultBranch
#botGitHubUser: core.botGitHubUser
#botGitHubUserTokenSecretsKey: core.botGitHubUserTokenSecretsKey
Expand Down

0 comments on commit cdd5730

Please sign in to comment.