Go Argo Build Trigger (Nx-ready)
- Appends a line to a target file (default:
apps/{app}/.gitkeep with {app}=retailer).
- Makes a commit with a customizable message (notifications in English).
- (Optional) Push after commit.
- Works great in Nx monorepos. You can pick the app on run.
Settings
| Setting |
Default |
Notes |
goArgo.appsRoot |
apps |
Root folder of Nx apps |
goArgo.appList |
["retailer","admin","storybook"] |
If empty, discovers subfolders under appsRoot |
goArgo.askAppOnRun |
false |
If true, Quick Pick asks which app to target |
goArgo.filePathTemplate |
apps/{app}/.gitkeep |
Supports {app}, {user}, {timestamp}, {rand}, {branch} |
goArgo.filePath |
`` |
If non-empty, overrides filePathTemplate |
goArgo.autoPush |
false |
Push after commit |
goArgo.noVerify |
false |
If true, add --no-verify to git commit to skip hooks |
goArgo.commitMessage |
build: trigger build [go argo] |
Supports {user}, {timestamp}, {rand}, {branch}, {app} |
goArgo.appendTemplate |
trigger build by {user} @ {timestamp} #{rand} ({app}) |
Same placeholders |
Example
{
"goArgo.askAppOnRun": true,
"goArgo.noVerify": true,
"goArgo.commitMessage": "build: trigger build [go argo] by {user} on {branch} [{app}]",
"goArgo.appendTemplate": "trigger build by {user} @ {timestamp} #{rand} ({app})"
}
| |