From 720bb41530f4bb6120fe2febf5d1f3bd04177a07 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Tue, 13 Oct 2020 11:21:59 -0700 Subject: [PATCH] Play around with the campaign template wording. --- cmd/src/campaigns_new.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cmd/src/campaigns_new.go b/cmd/src/campaigns_new.go index e688b0c35d..b6fbb72597 100644 --- a/cmd/src/campaigns_new.go +++ b/cmd/src/campaigns_new.go @@ -105,19 +105,21 @@ func getGitConfig(attribute string) (string, error) { const campaignSpecTmpl = `name: NAME-OF-YOUR-CAMPAIGN description: DESCRIPTION-OF-YOUR-CAMPAIGN - -# "on" specifies on which repositories to execute the "steps" +# "on" specifies on which repositories to execute the "steps". on: # Example: find all repositories that contain a README.md file. - repositoriesMatchingQuery: file:README.md -# steps are run in each repository. Each repository's resulting diff is captured. +# "steps" are run in each repository. Each step is run in a Docker container +# with the repository as the working directory. Once complete, each +# repository's resulting diff is captured. steps: # Example: append "Hello World" to every README.md - run: echo "Hello World" | tee -a $(find -name README.md) container: alpine:3 -# Describe the changeset (e.g., GitHub pull request) you want for each repository. +# "changesetTemplate" describes the changeset (e.g., GitHub pull request) that +# will be created for each repository. changesetTemplate: title: Hello World body: This adds Hello World to the README