3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 04:20:04 +01:00

[ci skip] Automatically close PRs from master branches on opening (#8779)

Dieser Commit ist enthalten in:
Jason 2023-01-09 14:43:54 -07:00 committet von GitHub
Ursprung 214a8c54a4
Commit fb90721a94
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

14
.github/workflows/close_invalid_prs.yml vendored Normale Datei
Datei anzeigen

@ -0,0 +1,14 @@
name: Close invalid PRs
on:
pull_request_target:
types: [ opened ]
jobs:
run:
if: ${{ github.repository != github.event.pull_request.head.repo.full_name && github.head_ref == 'master' }}
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: "Please do not open pull requests from the `master` branch, create a new branch instead."