Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Private base repo stop bots from using single file permission #13

Closed

Description

@nesl247

When you have the .github repository, and a bot requires a single file .github/stale.yml, probot-config does not work with the .github directory because it requires the files to be in the root instead of the same path.

This was caused with #6

Activity

  1. dessant commented on Jul 12, 2018

    @dessant

    The issue also applies to custom file paths, introduced in #8.

  2. nesl247 commented on Jul 12, 2018

    @nesl247
    Author

    I think the best, at quickest way to resolve this is to either change the current behavior of the root files to be a fallback, or add a fallback to check for the .github directory.

    I'm not sure about the issue with the other linked ticket though.

  3. hiimbex commented on Jul 13, 2018

    @hiimbex
    Contributor

    I think the better solution might just be to require the .github/ folder in the .github repo, no matter what, so the single file permissions can work cleanly.

  4. nesl247 commented on Jul 13, 2018

    @nesl247
    Author

    @hiimbex I agree. That's what I suggested in #1.

  5. hiimbex commented on Jul 13, 2018

    @hiimbex
    Contributor

    But the scenario where it can't read from the .github repo file only happens if the .github is private correct?

    So maybe it's easier to just specify the .github repo must public? Unless there's another issue with that solution?

  6. nesl247 commented on Jul 13, 2018

    @nesl247
    Author

    Yes, it only applies to private repositories. The reason it shouldn't require a public repo for a mostly private organization, we don't want anyone submitting PRs against it, we may also have specific settings in there for different bots that shouldn't be viewable outside of the organization.

  7. self-assigned this
    on Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions