GithubHelp home page GithubHelp logo

Comments (4)

SvanBoxel avatar SvanBoxel commented on May 27, 2024

This is unfortunately not how GitHub Apps and permissions scopes work in GitHub.

https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes

from delete-merged-branch.

whyman avatar whyman commented on May 27, 2024

Some configuration option to filter the retrieved list of repos could work? Installing it at org level is fine.

from delete-merged-branch.

cyberhck avatar cyberhck commented on May 27, 2024

That's not how github apps and permissions work, without a config to read from that's simply not possible? How do you grant permissions? Why not just install this app where it'll be used, even better, why not just use github actions?

Or now a days github allows you to delete head branches once it's merged, use that instead?

If we wanted to make that happen, there's a way, one is to make everyone have a config file if they want to delete merged branch, it's a breaking change and everyone would have to do a lot of work. OR have a config file to disable this app.

The only way I can think of is have a environment variable which changes the default settings for a particular instance of a app, so you can host your own app which defaults to not run on any repo without a config and add a config for every repo you want to run on.

Trying to figure out teams isn't in the scope of this app IMHO.

from delete-merged-branch.

SvanBoxel avatar SvanBoxel commented on May 27, 2024

I'm with @cyberhck on this one, this is not within the scope of this app, and is also not covered by GitHub's permission system. Please re-open if anyone has specific suggestions.

from delete-merged-branch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.