Skip to content

Commit

Permalink
github: load .yaml file too (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored Apr 18, 2019
1 parent 5cac323 commit ddf097e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### vNEXT

- **github**: load `.yaml` file too [PR #216](https://github.com/kamilkisiela/graphql-inspector/pull/216)

### v1.17.0

- **action**: Update Check Run instead of creating an extra one [PR #177](https://github.com/kamilkisiela/graphql-inspector/pull/177) - thanks to [@BeeeQueue](http://github.com/BeeeQueue)
Expand Down
2 changes: 1 addition & 1 deletion packages/github/src/probot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export async function handleAction({

async function loadConfig(): Promise<Config | undefined> {
const identifier = 'graphql-inspector';
const yamlConfig = await getGithubConfig(context, identifier + '.yml');
const yamlConfig = await getGithubConfig(context, identifier + '.yaml');
const ymlConfig = await getGithubConfig(context, identifier + '.yml');

if (yamlConfig || ymlConfig) {
Expand Down

0 comments on commit ddf097e

Please sign in to comment.