From 972402f1056e8686ef7b42b27872e0b214bedaa2 Mon Sep 17 00:00:00 2001 From: xbazzi Date: Sun, 17 Aug 2025 15:44:13 -0600 Subject: [PATCH] Add mirror README --- .gitea/workflows/mirror-to-github.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.gitea/workflows/mirror-to-github.yaml b/.gitea/workflows/mirror-to-github.yaml index e15d090..019c2ff 100644 --- a/.gitea/workflows/mirror-to-github.yaml +++ b/.gitea/workflows/mirror-to-github.yaml @@ -21,6 +21,30 @@ jobs: git config --global user.name "Gitea Mirror Bot" git config --global user.email "noreply@gitea.local" + # Create mirror README + cat > README.md << 'EOF' + + # 🪞 GitHub Mirror + + This is an automated mirror of the repository hosted on Gitea. + + **⚠️ This is a read-only mirror - do not create issues or pull requests here.** + + ## 🏠 Original Repository + + The main repository is located at: [${{ env.GITEA_REPO_URL }}](${{ env.GITEA_REPO_URL }}) + + Please visit the original repository for: + - 📝 Issues and bug reports + - 🔄 Pull requests and contributions + - 📋 Project documentation + - 💬 Discussions + + --- + + *This mirror is automatically updated when changes are pushed to the master branch.* + EOF + # Add remote git remote add github https://${{ secrets.GH_TOKEN }}@github.com/xbazzi/fastinahurry.git