Add mirror README
All checks were successful
Simple Mirror to GitHub / mirror (push) Successful in 8s
All checks were successful
Simple Mirror to GitHub / mirror (push) Successful in 8s
This commit is contained in:
parent
4fa89f5e39
commit
972402f105
@ -21,6 +21,30 @@ jobs:
|
|||||||
git config --global user.name "Gitea Mirror Bot"
|
git config --global user.name "Gitea Mirror Bot"
|
||||||
git config --global user.email "noreply@gitea.local"
|
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
|
# Add remote
|
||||||
git remote add github https://${{ secrets.GH_TOKEN }}@github.com/xbazzi/fastinahurry.git
|
git remote add github https://${{ secrets.GH_TOKEN }}@github.com/xbazzi/fastinahurry.git
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user