-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: root files are not matched by glob (#19)
* fix: root files are not matched by glob * build(test): reflect changed glob in expected
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 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 |
---|---|---|
|
@@ -27,10 +27,10 @@ jobs: | |
path: .github/CODEOWNERS.test | ||
- name: verify contents of generated file (file) | ||
run: | | ||
grep -q "^.gitignore [email protected]$" .github/CODEOWNERS.test | ||
grep -q "^/.gitignore [email protected]$" .github/CODEOWNERS.test | ||
- name: verify contents of generated file (folder) | ||
run: | | ||
grep -q "^.github/\* [email protected]" .github/CODEOWNERS.test | ||
grep -q "^/.github/\* [email protected]" .github/CODEOWNERS.test | ||
- name: verify lack of granularity | ||
continue-on-error: true | ||
run: | | ||
|
@@ -68,7 +68,7 @@ jobs: | |
- name: verify contents of generated file (folder) | ||
continue-on-error: true | ||
run: | | ||
grep -q "^.github/* [email protected]" .github/CODEOWNERS.test | ||
grep -q "^.github/[. \t]*[email protected]" .github/CODEOWNERS.test | ||
echo "::set-env name=folder::success" | ||
- name: fail if folder is in owners list | ||
if: env.folder == 'success' | ||
|
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