GitXplorerGitXplorer
l

mistaken-pull-closer

public
4 stars
1 forks
5 issues

Commits

List of commits on branch main.
Verified
6e4aac2f1738ccbaeb056a96f9a64bef94407550

Merge pull request #2 from lee-dohm/dependabot/npm_and_yarn/vercel/ncc-0.27.0

llee-dohm committed 4 years ago
Verified
311681cd333c1cdb17fcd54ff3fff6da5c4cff87

Add the beginning of the GitHub class

llee-dohm committed 4 years ago
Verified
278c8f92bee2fc25ea93cacb8ccb859609108065

Rearrange to follow the project structure to which I've become accustomed

llee-dohm committed 4 years ago
Verified
02710882abef5e1fc06550e1d92405bf86c8f6ad

Bump @vercel/ncc from 0.25.1 to 0.27.0

ddependabot[bot] committed 4 years ago
Unverified
7e40b84cdb33a96e58aec5d49b98ba551f69dfc0

Initial commit

llee-dohm committed 4 years ago

README

The README file for this repository.

Mistaken Pull Closer

An action to automatically close PRs that were opened by people without push access who use a branch that pre-exists in the repository itself.

What PRs does this app close?

This Probot app closes PRs where all of the following are true:

  • Created using a branch that exists in the repo, not a fork
  • Created by someone who does not have push access to the repo
  • Not created by an app or bot

Because the PR author doesn't have push access to the branch the PR is built on, they can't even submit changes to their own PR. This is why it is generally considered to be a mistake.

GitHub recently added a feature where it will not allow PRs like the above to be created if and only if the PR body is empty. For repositories using PR templates, this is never the case, hence the continuing need for this app.

License

MIT