From fcc14d28ac1185c3dfd022deafaed9b137d2583a Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Mon, 25 Aug 2025 12:25:39 +0200 Subject: [PATCH] Move the repository to monorepo. This commit: - mentions the monorepo in the README.MD. - deprecates the module in favor of go.podman.io/common. - adds github workflow to auto-close newly created PRs. Signed-off-by: Jan Kaluza --- .github/workflows/auto-close-prs.yml | 15 +++++++++++++++ README.md | 5 +++++ go.mod | 1 + 3 files changed, 21 insertions(+) create mode 100644 .github/workflows/auto-close-prs.yml diff --git a/.github/workflows/auto-close-prs.yml b/.github/workflows/auto-close-prs.yml new file mode 100644 index 000000000..34f6a4c59 --- /dev/null +++ b/.github/workflows/auto-close-prs.yml @@ -0,0 +1,15 @@ +name: Close Pull Request + +on: + pull_request_target: + types: [opened] + branches: + - main + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@9c18513d320d7b2c7185fb93396d0c664d5d8448 + with: + comment: "This repository has been migrated to https://github.com/containers/container-libs. Please open your PR there." diff --git a/README.md b/README.md index 118b0a6bd..585a77c2f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # containers/common +> [!WARNING] +> This package was moved; please update your references to use `go.podman.io/common` instead. +> New development of this project happens on https://github.com/containers/container-libs. +> For more information, check https://blog.podman.io/2025/08/upcoming-migration-of-three-containers-repositories-to-monorepo/. + Location for shared common files and common go code to manage those files in github.com/containers repos. diff --git a/go.mod b/go.mod index 0e9043089..3cfdca68a 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,4 @@ +// Deprecated: Use go.podman.io/common instead. module github.com/containers/common // Warning: Ensure the "go" and "toolchain" versions match exactly to prevent unwanted auto-updates