Skip to content

Commit b39ff84

Browse files
committed
Add close PR action for repo splits
1 parent 099b6f4 commit b39ff84

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Close Pull Request
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
main:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Close PR with nice message
12+
uses: superbrothers/close-pull-request@v3
13+
with:
14+
comment: >
15+
Thank you for your pull request. However, you have submitted your PR on a read-only
16+
split of `codeigniter4/CodeIgniter4`. This repository, unfortunately, does
17+
not accept PRs. Please submit your PR at https://github.com/codeigniter4/CodeIgniter4
18+
repository.<br/><br/>Thank you.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Close Pull Request
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
main:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Close PR with nice message
12+
uses: superbrothers/close-pull-request@v3
13+
with:
14+
comment: >
15+
Thank you for your pull request. However, you have submitted your PR on a read-only
16+
split of `codeigniter4/CodeIgniter4`. This repository, unfortunately, does
17+
not accept PRs. Please submit your PR at https://github.com/codeigniter4/CodeIgniter4
18+
repository.<br/><br/>Thank you.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Close Pull Request
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
main:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Close PR with nice message
12+
uses: superbrothers/close-pull-request@v3
13+
with:
14+
comment: >
15+
Thank you for your pull request. However, you have submitted your PR on a read-only
16+
split of `codeigniter4/CodeIgniter4`. This repository, unfortunately, does
17+
not accept PRs. Please submit your PR at https://github.com/codeigniter4/CodeIgniter4
18+
repository.<br/><br/>Thank you.

0 commit comments

Comments
 (0)