-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for multiple config files (#9)
* fixes #8 - remove hard coded config file location - trigger on any `.yml` file in `.circleci/` - update readme for details on specifying config files This is possible because by default, `circleci config validate` looks for a config file in `.circleci/config.yml`. * fix grammar * Use equal separated args over space separated
- Loading branch information
1 parent
7b1bd92
commit 8e09e3b
Showing
3 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
- id: circleci_validate | ||
name: Validate CircleCI config | ||
description: This hook validate CircleCI config | ||
description: This hook validates CircleCI config | ||
entry: circleci_validate.sh | ||
language: script | ||
files: .circleci/config.yml | ||
files: .circleci/.*.yml | ||
pass_filenames: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters