Skip to content

Commit d5cc035

Browse files
RCheesleyescopecz
andauthored
Add core lib readme and workflow to auto-close PRs (#11354)
* Add GitHub workflow to close PRs on core-lib repo * create readme for core-lib folder * Update app/README.md Co-authored-by: John Linhart <[email protected]> Co-authored-by: John Linhart <[email protected]>
1 parent 927184d commit d5cc035

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Workflow name:
2+
name: Close Pull Requests
3+
4+
# Workflow triggers:
5+
on:
6+
pull_request_target:
7+
types: [opened]
8+
9+
# Workflow jobs:
10+
jobs:
11+
run:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: superbrothers/close-pull-request@v3
15+
with:
16+
comment: |
17+
Thank you for submitting a pull request. :raised_hands:
18+
19+
We greatly appreciate your willingness to submit a contribution. However, we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/mautic/mautic).
20+
21+
We kindly request that you submit this pull request against the [respective directory](https://github.com/mautic/mautic/blob/head/app/) of the main repository where we'll review and provide feedback. If this is your first Mautic contribution, be sure to read the [contributing guide](https://github.com/mautic/mautic/blob/head/.github/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions.
22+
23+
Thank you again, and we look forward to receiving your contribution! :smiley:
24+
25+
Best,
26+
The Mautic team

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Mautic Core-lib repo
2+
3+
## This is a mirror repository of the /app folder of Mautic, and is managed centrally in https://github.com/mautic/mautic/blob/head/app. This is a read-only mirror repository.
4+
5+
**📣 Please make PRs and issues against the [mautic/mautic](https://github.com/mautic/mautic) repository, not here!**

0 commit comments

Comments
 (0)