Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Invalid status code: 1 #10

Closed
GWen124 opened this issue Feb 13, 2022 · 6 comments
Closed

Error: Invalid status code: 1 #10

GWen124 opened this issue Feb 13, 2022 · 6 comments

Comments

@GWen124
Copy link

GWen124 commented Feb 13, 2022

Run TobKed/github-forks-sync-action@master
with:
github_token: ***
upstream_repository: jerrykuku/luci-theme-argon
upstream_branch: 18.06
target_repository: GWen124/luci-theme-argon
target_branch: 18.06
force: false
tags: false
Started: bash /home/runner/work/_actions/TobKed/github-forks-sync-action/master/start.sh
Synchronizing repostiory GWen124/luci-theme-argon:18.06 with jerrykuku/luci-theme-argon:18.06
Cloning into 'luci-theme-argon'...
error: src refspec 18.06 does not match any
error: failed to push some refs to 'https://github.com/GWen124/luci-theme-argon.git'
Error: Invalid status code: 1
at ChildProcess. (/home/runner/work/_actions/TobKed/github-forks-sync-action/master/start.js:9:19)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) {
code: 1
}
Error: Invalid status code: 1
at ChildProcess. (/home/runner/work/_actions/TobKed/github-forks-sync-action/master/start.js:9:19)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

@turbaszek
Copy link
Contributor

Thanks @GWen124 ! @TobKed does this seems to be related to fix in #9 ?

@TobKed
Copy link
Owner

TobKed commented Feb 15, 2022

Thanks @GWen124 and @turbaszek . I made PR with the fix (not related to the tags).

@GWen124
Copy link
Author

GWen124 commented Feb 16, 2022

Thanks @GWen124 and @turbaszek . I made PR with the fix (not related to the tags).
Thanks for your hard work
how to get all branches

TobKed added a commit that referenced this issue Feb 16, 2022
@GWen124
Copy link
Author

GWen124 commented Feb 17, 2022

Thanks @GWen124 and @turbaszek . I made PR with the fix (not related to the tags).

I mean, how to clone all branches of the same repository at once.

@TobKed
Copy link
Owner

TobKed commented Feb 18, 2022

@GWen124 I created seperate issue #13 for that. I will work on adding such option.

TobKed added a commit that referenced this issue Feb 18, 2022
@TobKed
Copy link
Owner

TobKed commented Feb 18, 2022

@GWen124 I merged fix for non-default branch. Let me know if this works for you.

@GWen124 GWen124 closed this as completed Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants