Comments (5)
This works.
jobs:
git-mirror:
runs-on: ubuntu-latest
steps:
- uses: wearerequired/git-mirror-action@v1
env:
SSH_PRIVATE_KEY: ${{ secrets.SYNC_REPO_PRIVATE_KEY }}
with:
source-repo: "https://github.com/source.git"
destination-repo: "[email protected]:destination.git"
from git-mirror-action.
I just met the same problem as you. I think this action used the default repo user (for an organization, the user is the org) to auth to github instead. Is there any way to designate authoring user?
from git-mirror-action.
@CharesFang The user should be always git
which is defined as part of the source/destination repo inputs.
from git-mirror-action.
@CharesFang The user should be always
git
which is defined as part of the source/destination repo inputs.
Thanks for your reply! I'm trying to find out the bugs.
from git-mirror-action.
This works.
jobs: git-mirror: runs-on: ubuntu-latest steps: - uses: wearerequired/git-mirror-action@v1 env: SSH_PRIVATE_KEY: ${{ secrets.SYNC_REPO_PRIVATE_KEY }} with: source-repo: "https://github.com/source.git" destination-repo: "[email protected]:destination.git"
Thanks a lot! I have just fix my bugs. I made some mistakes in ssh key configurations. Thank you all guys!
from git-mirror-action.
Related Issues (13)
- 关于公钥
- 2 个私库之间是是不能同步的吧 / It is not possible to synchronise between 2 private libraries, right? HOT 2
- Can this action be used in private repos? HOT 5
- Mirror actions don't work on PRs from Dependabot HOT 1
- use coding Permission denied (publickey) HOT 2
- GITHUB_TOKEN permissions used by this action
- If destination-repo has an SSH port other than 22, it is ignored HOT 3
- Is there a way that I can mirror a repo but not push forcely?
- need an option to choose branch HOT 3
- Can't push to remote repository because of wrong host HOT 6
- Option to pass a git hash to clone HOT 1
- fail HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-mirror-action.