mirror of
https://github.com/symfony/runtime.git
synced 2026-03-23 23:42:14 +01:00
Merge branch '6.4' into 7.0
* 6.4: Remove subtree split checks Revert "minor #54653 Auto-close PRs on subtree-splits (nicolas-grekas)"
This commit is contained in:
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -1,3 +1,4 @@
|
||||
/Tests export-ignore
|
||||
/phpunit.xml.dist export-ignore
|
||||
/.git* export-ignore
|
||||
/.gitattributes export-ignore
|
||||
/.gitignore export-ignore
|
||||
|
||||
8
.github/PULL_REQUEST_TEMPLATE.md
vendored
8
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,8 +0,0 @@
|
||||
Please do not submit any Pull Requests here. They will be closed.
|
||||
---
|
||||
|
||||
Please submit your PR here instead:
|
||||
https://github.com/symfony/symfony
|
||||
|
||||
This repository is what we call a "subtree split": a read-only subset of that main repository.
|
||||
We're looking forward to your PR there!
|
||||
37
.github/workflows/check-subtree-split.yml
vendored
37
.github/workflows/check-subtree-split.yml
vendored
@@ -1,37 +0,0 @@
|
||||
name: Check subtree split
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
|
||||
jobs:
|
||||
close-pull-request:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Close pull request
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
if (context.repo.owner === "symfony") {
|
||||
github.rest.issues.createComment({
|
||||
owner: "symfony",
|
||||
repo: context.repo.repo,
|
||||
issue_number: context.issue.number,
|
||||
body: `
|
||||
Thanks for your Pull Request! We love contributions.
|
||||
|
||||
However, you should instead open your PR on the main repository:
|
||||
https://github.com/symfony/symfony
|
||||
|
||||
This repository is what we call a "subtree split": a read-only subset of that main repository.
|
||||
We're looking forward to your PR there!
|
||||
`
|
||||
});
|
||||
|
||||
github.rest.pulls.update({
|
||||
owner: "symfony",
|
||||
repo: context.repo.repo,
|
||||
pull_number: context.issue.number,
|
||||
state: "closed"
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user