Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions cmd/src/campaigns_new.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down