Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Community Health Files Support #939

Closed
varunsridharan opened this issue May 26, 2019 · 8 comments

Comments

@varunsridharan
Copy link

commented May 26, 2019

Feature Request

Is your feature request related to a problem? Please describe.
I have a org where i already have around 10+ repo and i its hard to maintain config.yml all the repo in a org.

Describe the solution you'd like
A Better idea is to support Github Community Health Files Support where i can create a config.yml inside .github repo in my org and make it work for all repose inside my org

@issue-label-bot

This comment has been minimized.

Copy link

commented May 26, 2019

Issue-Label Bot is automatically applying the label enhancement ➕ to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@welcome

This comment has been minimized.

Copy link

commented May 26, 2019

Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved.

@gr2m

This comment has been minimized.

Copy link
Contributor

commented May 26, 2019

That is supported via https://github.com/probot/probot-config, see the WIP for a usage example: https://github.com/wip/app/blob/f7482eda54e31e03a72f398335ac389235347d54/lib/pro/get-config.js#L3-L9

Does that work for you?

GitHub
A Probot extension to easily share configs between repositories. - probot/probot-config
GitHub
The WIP GitHub App. Contribute to wip/app development by creating an account on GitHub.
@varunsridharan

This comment has been minimized.

Copy link
Author

commented May 27, 2019

@gr2m thanks for the information. i did checked Porbot-Config Before opening this issue but i it din't work out for me. and i am confused on how to use it its not clear

@varunsridharan

This comment has been minimized.

Copy link
Author

commented May 27, 2019

@gr2m also some probot wants its own file instead of config.yml in that case how i can use probot-config would you mind providing an example ?

@gr2m

This comment has been minimized.

Copy link
Contributor

commented May 27, 2019

The WIP apps uses .github/wip.yml, see the example linked above

const probotConfig = require('probot-config')
let config = await probotConfig(context, 'wip.yml')

Replace wip.yml with whatever you like, it has to be located in the .github folder, even if you have a .github repository

@varunsridharan

This comment has been minimized.

Copy link
Author

commented May 27, 2019

@gr2m i am not creating a bot instead i am using a bot which requires configs inside .github folder in each repo and i am asking if its possible to put in a common place and use it.

@gr2m

This comment has been minimized.

Copy link
Contributor

commented May 28, 2019

Only the maintainer of the app can add support for that. The "Github Community Health Files Support" are limited to a pre-defined set of files by GitHub, we do not have control over that. I would suggest to contact the app maintainer, there is nothing we can do I’m afraid

@gr2m gr2m closed this May 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.