Comments (4)
Hi!
I think you might have forgot to actually add the personal access token to your repo.
GitHub provides a good manual for how to do this - Creating and storing encrypted secrets.
However, in a nutshell, you need to go to the settings tab in your repository. Then click on Secrets. Select Add a new secret. Give it a name matching the one in your workflow (PERSONAL_TOKEN
) and paste your personal access token.
from copycat-action.
Solved! I was missing the secret part. Thanks!!
Let me ask you the last thing and you can close the issue. Is it possible to clone the folder and replace it? Actually behavior maintains all files, copying news or replacing if exist but I would like to have the same structure of files in both repositories
Thanks!
from copycat-action.
Solved! I was missing the secret part. Thanks!!
Great π
Let me ask you the last thing and you can close the issue. Is it possible to clone the folder and replace it? Actually behavior maintains all files, copying news or replacing if exist but I would like to have the same structure of files in both repositories
Not quite sure I follow you π€
It is possible to clean the contents of a folder you want to copy to, hence preserving the source file structure. In such case, set the clean
input variable to true
. If this isn't what you meant, then could you please open a separate issue and provide an example?
Btw, if you find this action useful, please consider leaving a star β
from copycat-action.
Sure!
from copycat-action.
Related Issues (20)
- Copy files to a different branch of the same repository HOT 2
- Feature proposal: --no-clobber option for the copy command HOT 1
- Add option to copy just folder contents instead of folder AND contents HOT 2
- How to use env variables in COMMIT_MESSAGE? HOT 1
- [FEATURE] dst_repo_owner and dst_repo_name should be merged in dst_repo
- [FEATURE REQUEST] Copy from GitHub Action Workspace to the repo's branch HOT 2
- fatal: could not read Password for 'https://***@github.com': No such device or address HOT 2
- Automatically detecting the default branch name. HOT 6
- Cannot find newly created folder called build HOT 3
- Action terminates successfully despite failure HOT 2
- Deleting contents of parent folder HOT 4
- CanΒ΄t exclude multiple folders. HOT 1
- Can we use github.token or secrets.github_token instead of personal access token HOT 1
- Removes files in the Destination repository. HOT 1
- Exclude pattern not working
- Copy each `commit_message` from source folder's git history HOT 1
- Personal Access Token in a Organization Secret "PERSONAL_TOKEN"
- i want to add a param src_repo_name
- REPOSITORY IS DEAD?
- How to include LFS files?
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 copycat-action.