zeke / semantic-pull-requests

:robot: Let the robots take care of the semantic versioning
https://github.com/apps/semantic-pull-requests
Apache License 2.0
1.24k stars 122 forks source link

Loading semantic.yml seems to be broken #141

Closed sapkra closed 2 years ago

sapkra commented 3 years ago

For me it seems like that loading the config file is broken somehow. Several users are reporting that their options are not working. Maybe the root of the problem is that probot-config is deprecated and is now part of the probot core.

@zeke Do you have any plans to refactor it?

Before:

const getConfig = require('probot-config')
const userConfig = await getConfig(context, 'semantic.yml', {})

After:

const userConfig = await context.config('semantic.yml')
zeke commented 3 years ago

@sapkra thanks for the ping, and sorry it's not working for you. Would you be willing to open a pull request to update this?

zeke commented 2 years ago

This issue is old and inactive so I'm going to close it. If anyone is still affected by this, let me know and I'll re-open it.