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

Disable Pull Requests on this repository #6431

Closed
samsonasik opened this issue May 18, 2021 · 5 comments · Fixed by rectorphp/rector-src#80
Closed

Disable Pull Requests on this repository #6431

samsonasik opened this issue May 18, 2021 · 5 comments · Fixed by rectorphp/rector-src#80
Assignees

Comments

@samsonasik
Copy link
Member

Hi @TomasVotruba , I think Pull Request should be disable for this repository so contributor can send pull request to https://github.com/rectorphp/rector-src instead.

@TomasVotruba
Copy link
Member

Hi @samsonasik, good idea! This is not possible in GitHub itself though.
Any ideas how to limit it?

@samsonasik
Copy link
Member Author

@TomasVotruba this repo-lockdown action probably can be used https://github.com/dessant/repo-lockdown .

Also, add contributing.md like @garak mentioned at #6430 (comment)

@TomasVotruba
Copy link
Member

TomasVotruba commented May 18, 2021

I tried the dessant/repo-lockdown in @symplify, but it requires an access token from the contributors, AFAIK.

Also, add contributing.md like @garak mentioned at #6430 (comment)

👍

@samsonasik
Copy link
Member Author

auto-closer github action can be alternative, for example:

https://github.com/laminas/laminas-db/blob/7663f838059e27da94df02fe4aa88c2c7fd7aa1c/.github/workflows/auto-close.yml

It may needs organization token which seems can be saved at .github repository in org level, eg: https://github.com/laminas/.github

The example result is : laminas/laminas-db#189 (comment)

@samsonasik
Copy link
Member Author

Handled by rectorphp/rector-src#84 demo #6445 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants