diff --git a/lifecycle/scripts/make-rules/license.mk b/lifecycle/scripts/make-rules/license.mk index b41a8b284309..7b6274f9cda4 100644 --- a/lifecycle/scripts/make-rules/license.mk +++ b/lifecycle/scripts/make-rules/license.mk @@ -17,7 +17,7 @@ TEMPLATE := $(ROOT_DIR)/scripts/template/LICENSE .PHONY: license.verify license.verify: tools.verify.addlicense @echo "===========> Verifying the boilerplate headers for all files" - @$(TOOLS_DIR)/addlicense -check -ignore **/test/** -f $(TEMPLATE) $(CODE_DIRS) + @$(TOOLS_DIR)/addlicense -check -ignore **/test/** -ignore **/.github/** -f $(TEMPLATE) $(CODE_DIRS) .PHONY: license.add license.add: tools.verify.addlicense license.controller.add diff --git a/lifecycle/staging/src/github.com/labring/image-cri-shim/.github/workflows/close-pr.yml b/lifecycle/staging/src/github.com/labring/image-cri-shim/.github/workflows/close-pr.yml new file mode 100644 index 000000000000..c7a21df2005a --- /dev/null +++ b/lifecycle/staging/src/github.com/labring/image-cri-shim/.github/workflows/close-pr.yml @@ -0,0 +1,20 @@ +name: ❌ Close Pull Requests + +on: + pull_request_target: + types: [opened] + +jobs: + close-pr: + runs-on: ubuntu-latest + permissions: + contents: write + issues: write + pull-requests: write + steps: + - name: Close Pull Request + uses: superbrothers/close-pull-request@v3 + with: + comment: "❌ PRs are not accepted in this repository." + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/lifecycle/staging/src/github.com/labring/image-cri-shim/README.md b/lifecycle/staging/src/github.com/labring/image-cri-shim/README.md index 08d44d25b92d..b23d2e1ee9a0 100644 --- a/lifecycle/staging/src/github.com/labring/image-cri-shim/README.md +++ b/lifecycle/staging/src/github.com/labring/image-cri-shim/README.md @@ -204,3 +204,41 @@ Dec 11 02:18:47 test-node-0 image-cri-shim[46869]: 2022-12-11T02:18:47 info User Dec 11 02:18:47 test-node-0 image-cri-shim[46869]: 2022-12-11T02:18:47 info Password: passw0rd Dec 11 02:18:47 test-node-0 image-cri-shim[46869]: 2022-12-11T02:18:47 info CRIVersion: v1 ``` + +# Contribution Policy + +🚫 **This repository does NOT accept any form of contributions.** +This includes: +- ❌ Pull requests +- ❌ Direct code submissions +- ❌ Bug reports +- ❌ Feature requests +- ❌ Documentation changes + +**All contributions must be submitted exclusively to the central repository:** +👉 **https://github.com/labring/sealos** + +--- + +## Contribution Guidelines +1. **For bugs** + → Report in the [Issues section of the main repository](https://github.com/labring/sealos/issues) + → Include reproduction steps and environment details + +2. **For code contributions** + → Submit changes via **main repository only** + → Follow contribution guidelines at [sealos/CONTRIBUTING.md](https://github.com/labring/sealos/blob/main/CONTRIBUTING.md) + +3. **For feature requests** + → Create an Issue in the [main repository](https://github.com/labring/sealos/issues) with `[Feature]` prefix + +--- + +## Important Notes +⚠️ **This repository is read-only** +- Serves as reference implementation only +- Active development occurs exclusively at [labring/sealos](https://github.com/labring/sealos) +- PRs/issues submitted here will be **closed immediately without review** + +📌 **Any contributions made to this repository will be invalid** +For your submissions to be considered, please use the central repository. \ No newline at end of file diff --git a/lifecycle/staging/src/github.com/labring/lvscare/.github/workflows/close-pr.yml b/lifecycle/staging/src/github.com/labring/lvscare/.github/workflows/close-pr.yml new file mode 100644 index 000000000000..c7a21df2005a --- /dev/null +++ b/lifecycle/staging/src/github.com/labring/lvscare/.github/workflows/close-pr.yml @@ -0,0 +1,20 @@ +name: ❌ Close Pull Requests + +on: + pull_request_target: + types: [opened] + +jobs: + close-pr: + runs-on: ubuntu-latest + permissions: + contents: write + issues: write + pull-requests: write + steps: + - name: Close Pull Request + uses: superbrothers/close-pull-request@v3 + with: + comment: "❌ PRs are not accepted in this repository." + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/lifecycle/staging/src/github.com/labring/lvscare/README.md b/lifecycle/staging/src/github.com/labring/lvscare/README.md index b7d9571217cf..be0345a86b64 100644 --- a/lifecycle/staging/src/github.com/labring/lvscare/README.md +++ b/lifecycle/staging/src/github.com/labring/lvscare/README.md @@ -165,3 +165,42 @@ lvscare care --vs 169.254.0.1:80 --logger DEBG --mode link -C ``` Welcome to give it a shot, have fun with it. + + +# Contribution Policy + +🚫 **This repository does NOT accept any form of contributions.** +This includes: +- ❌ Pull requests +- ❌ Direct code submissions +- ❌ Bug reports +- ❌ Feature requests +- ❌ Documentation changes + +**All contributions must be submitted exclusively to the central repository:** +👉 **https://github.com/labring/sealos** + +--- + +## Contribution Guidelines +1. **For bugs** + → Report in the [Issues section of the main repository](https://github.com/labring/sealos/issues) + → Include reproduction steps and environment details + +2. **For code contributions** + → Submit changes via **main repository only** + → Follow contribution guidelines at [sealos/CONTRIBUTING.md](https://github.com/labring/sealos/blob/main/CONTRIBUTING.md) + +3. **For feature requests** + → Create an Issue in the [main repository](https://github.com/labring/sealos/issues) with `[Feature]` prefix + +--- + +## Important Notes +⚠️ **This repository is read-only** +- Serves as reference implementation only +- Active development occurs exclusively at [labring/sealos](https://github.com/labring/sealos) +- PRs/issues submitted here will be **closed immediately without review** + +📌 **Any contributions made to this repository will be invalid** +For your submissions to be considered, please use the central repository. \ No newline at end of file