Comments (6)
Hey, thanks for creating the Issue!
This is definitely a problem which needs to be fixed.
Alternatively it would be great to be able to specify the name of the branch, or the branch suffix.
That seems to be the easiest solution and might be useful for other requirements as well. I will add an option to specify a custom branch prefix instead of the repo-sync/REPO_NAME
.
I will start working on this tomorrow.
from repo-file-sync-action.
I implemented this on the develop branch.
You can try it out by using the action like this:
uses: BetaHuhn/repo-file-sync-action@develop
with:
GH_PAT: ${{ secrets.GH_PAT }}
BRANCH_PREFIX: custom-branch
I also added an example to the README which shows how you can use the BRANCH_PREFIX
option.
@jezdez Let me know if this resolves your issue and I will merge this into master and release a new version.
from repo-file-sync-action.
Friendly ping @jezdez
from repo-file-sync-action.
Woops, sorry forgot to submit the form! Yep that did the trick, thank you :)
from repo-file-sync-action.
No problem! 😄
from repo-file-sync-action.
🎉 This issue is resolved in version v1.6.0 🎉
To use the latest version, use the Action with the v1
tag:
uses: BetaHuhn/repo-file-sync-action@v1
Or the latest
tag:
uses: BetaHuhn/repo-file-sync-action@latest
from repo-file-sync-action.
Related Issues (20)
- `deleteOrphaned` Option Doesn't Delete Hidden Files HOT 9
- Replace & deleteOrphaned always have the value of default HOT 1
- Problem setting git username/email with GH_PAT only HOT 14
- Missing Documentation for PR_BODY property HOT 1
- Action is pulling in binary files in a repo HOT 15
- Command failed: git ls-tree -r --full-tree HOT 3
- Actions fail in v1.17.18 HOT 3
- Error: Cannot create a new GitHub Tree: Server Error HOT 11
- Cannot set commit message as the title of the PR HOT 2
- Error: stdout maxBuffer length exceeded HOT 4
- Syncing through forked repo hits "shallow update not allowed" after the first pull request is merged into target repo
- Exclude no longer works on version v1.18.00 HOT 8
- Allow configuring parameters for Nunjucks
- Newest version does not run after ESM change HOT 5
- Template rendering doesn't work alongside `dest` HOT 1
- Security Contact - missing HOT 1
- sporadic "Server Error" on adding labels
- Reporting a vulnerability HOT 1
- Exclude overlap causing missed files in sync HOT 1
- Sync subfolder to destination
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 repo-file-sync-action.