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