Comments (4)
This is unfortunately not how GitHub Apps and permissions scopes work in GitHub.
from delete-merged-branch.
Some configuration option to filter the retrieved list of repos could work? Installing it at org level is fine.
from delete-merged-branch.
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.
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)
- config to delete closed PR HOT 2
- hey your NPM_TOKEN is invalid HOT 5
- Move to GitHub Actions
- This feature already exists HOT 1
- This appears to have stopped working on our org repos HOT 21
- Not working in github action HOT 3
- It is dangerous the master branch is not protected by default HOT 1
- Automatic change of base branch does not work HOT 1
- Exclude branches in Git Actions HOT 2
- Only delete on certain base branches HOT 4
- Deprecated error object key
- Upgrade Probot to the latest version HOT 1
- [feature-request] ability to delay deletion HOT 2
- Consider publishing as npm module HOT 2
- [doc request] Now configuration
- [bug] GitHub Action hanging HOT 7
- [feature-request] Don't delete if label exists HOT 6
- feature request: auto docker push HOT 1
- GItHub: Automatically delete head branches of pull requests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delete-merged-branch.