Skip to content

Commit 5773752

Browse files
cuisongliudinoallo
authored andcommitted
docs: update contribution policy and guidelines in README (#5741)
Signed-off-by: cuisongliu <[email protected]>
1 parent 37fa4ae commit 5773752

File tree

5 files changed

+118
-1
lines changed

5 files changed

+118
-1
lines changed

lifecycle/scripts/make-rules/license.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ TEMPLATE := $(ROOT_DIR)/scripts/template/LICENSE
1717
.PHONY: license.verify
1818
license.verify: tools.verify.addlicense
1919
@echo "===========> Verifying the boilerplate headers for all files"
20-
@$(TOOLS_DIR)/addlicense -check -ignore **/test/** -f $(TEMPLATE) $(CODE_DIRS)
20+
@$(TOOLS_DIR)/addlicense -check -ignore **/test/** -ignore **/.github/** -f $(TEMPLATE) $(CODE_DIRS)
2121

2222
.PHONY: license.add
2323
license.add: tools.verify.addlicense license.controller.add
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ❌ Close Pull Requests
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
close-pr:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
issues: write
13+
pull-requests: write
14+
steps:
15+
- name: Close Pull Request
16+
uses: superbrothers/close-pull-request@v3
17+
with:
18+
comment: "❌ PRs are not accepted in this repository."
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lifecycle/staging/src/github.com/labring/image-cri-shim/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,41 @@ Dec 11 02:18:47 test-node-0 image-cri-shim[46869]: 2022-12-11T02:18:47 info User
204204
Dec 11 02:18:47 test-node-0 image-cri-shim[46869]: 2022-12-11T02:18:47 info Password: passw0rd
205205
Dec 11 02:18:47 test-node-0 image-cri-shim[46869]: 2022-12-11T02:18:47 info CRIVersion: v1
206206
```
207+
208+
# Contribution Policy
209+
210+
🚫 **This repository does NOT accept any form of contributions.**
211+
This includes:
212+
- ❌ Pull requests
213+
- ❌ Direct code submissions
214+
- ❌ Bug reports
215+
- ❌ Feature requests
216+
- ❌ Documentation changes
217+
218+
**All contributions must be submitted exclusively to the central repository:**
219+
👉 **https://github.com/labring/sealos**
220+
221+
---
222+
223+
## Contribution Guidelines
224+
1. **For bugs**
225+
→ Report in the [Issues section of the main repository](https://github.com/labring/sealos/issues)
226+
→ Include reproduction steps and environment details
227+
228+
2. **For code contributions**
229+
→ Submit changes via **main repository only**
230+
→ Follow contribution guidelines at [sealos/CONTRIBUTING.md](https://github.com/labring/sealos/blob/main/CONTRIBUTING.md)
231+
232+
3. **For feature requests**
233+
→ Create an Issue in the [main repository](https://github.com/labring/sealos/issues) with `[Feature]` prefix
234+
235+
---
236+
237+
## Important Notes
238+
⚠️ **This repository is read-only**
239+
- Serves as reference implementation only
240+
- Active development occurs exclusively at [labring/sealos](https://github.com/labring/sealos)
241+
- PRs/issues submitted here will be **closed immediately without review**
242+
243+
📌 **Any contributions made to this repository will be invalid**
244+
For your submissions to be considered, please use the central repository.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ❌ Close Pull Requests
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
close-pr:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
issues: write
13+
pull-requests: write
14+
steps:
15+
- name: Close Pull Request
16+
uses: superbrothers/close-pull-request@v3
17+
with:
18+
comment: "❌ PRs are not accepted in this repository."
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lifecycle/staging/src/github.com/labring/lvscare/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,42 @@ lvscare care --vs 169.254.0.1:80 --logger DEBG --mode link -C
165165
```
166166

167167
Welcome to give it a shot, have fun with it.
168+
169+
170+
# Contribution Policy
171+
172+
🚫 **This repository does NOT accept any form of contributions.**
173+
This includes:
174+
- ❌ Pull requests
175+
- ❌ Direct code submissions
176+
- ❌ Bug reports
177+
- ❌ Feature requests
178+
- ❌ Documentation changes
179+
180+
**All contributions must be submitted exclusively to the central repository:**
181+
👉 **https://github.com/labring/sealos**
182+
183+
---
184+
185+
## Contribution Guidelines
186+
1. **For bugs**
187+
→ Report in the [Issues section of the main repository](https://github.com/labring/sealos/issues)
188+
→ Include reproduction steps and environment details
189+
190+
2. **For code contributions**
191+
→ Submit changes via **main repository only**
192+
→ Follow contribution guidelines at [sealos/CONTRIBUTING.md](https://github.com/labring/sealos/blob/main/CONTRIBUTING.md)
193+
194+
3. **For feature requests**
195+
→ Create an Issue in the [main repository](https://github.com/labring/sealos/issues) with `[Feature]` prefix
196+
197+
---
198+
199+
## Important Notes
200+
⚠️ **This repository is read-only**
201+
- Serves as reference implementation only
202+
- Active development occurs exclusively at [labring/sealos](https://github.com/labring/sealos)
203+
- PRs/issues submitted here will be **closed immediately without review**
204+
205+
📌 **Any contributions made to this repository will be invalid**
206+
For your submissions to be considered, please use the central repository.

0 commit comments

Comments
 (0)