Skip to content

Commit

Permalink
Add a config file for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
necojackarc committed Feb 23, 2021
1 parent 6370c9f commit 8fb8ec6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions test/assets/reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
reviewers:
groups:
repository-owner:
- necojackarc

files:
'**/*':
- repository-owner

options:
ignore_draft: true
ignored_keywords:
- DO NOT REVIEW
enable_group_assignment: false
2 changes: 1 addition & 1 deletion test/github.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('github', function() {
});

describe('fetch_config()', function() {
const config_path = '.github/auto_request_review.yml';
const config_path = 'test/assets/reviewers.yml';
const encoding = 'utf8';
const content = fs.readFileSync(config_path, encoding);

Expand Down

0 comments on commit 8fb8ec6

Please sign in to comment.