You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, Thank you for create nice GitHub actions.
I have been a long time user of reg-suit and it works great for me.
However I found your blog post and want to try reg-actions.
I set it up while reading the README, but got the following error.
/usr/bin/git fetch -u origin reg_actions:reg_actions
fatal: couldn't find remote ref reg_actions
Failed to fetch target branch, probably doesn't exist
Error: Command 'git' failed with args 'fetch -u origin reg_actions:reg_actions': fatal: couldn't find remote ref reg_actions
: Error: The process '/usr/bin/git' failed with exit code 128
at /home/runner/work/_actions/reg-viz/reg-actions/v2/webpack:/reg-actions/lib/git.js:36:1
at Generator.throw (<anonymous>)
at rejected (/home/runner/work/_actions/reg-viz/reg-actions/v2/webpack:/reg-actions/lib/git.js:6:1)
Checking if branch reg_actions exists already
/usr/bin/git branch --list reg_actions
reg_actions does not exist, creating as orphan
/usr/bin/git checkout --orphan reg_actions
Switched to a new branch 'reg_actions'
Updating branch reg_actions
Removing all files from target branch
PassThrough {
_readableState: ReadableState {
state: 6161,
highWaterMark: 65536,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: null,
errored: null,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
decoder: null,
encoding: null,
[Symbol(kPaused)]: null
},
_events: [Object: null prototype] {
prefinish: [Function: prefinish],
unpipe: [ [Function (anonymous)], [Function: onunpipe] ],
error: [Function: onerror],
close: [ [Function], [Function] ],
finish: [Function: bound onceWrapper] { listener: [Function: onfinish] },
end: [Function: bound onceWrapper] { listener: [Function (anonymous)] }
},
_eventsCount: 6,
_maxListeners: 0,
_writableState: WritableState {
state: 802925,
highWaterMark: 65536,
defaultEncoding: 'utf8',
length: 0,
corked: 0,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
pendingcb: 0,
errored: null,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: true,
add: [Function: addStream],
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null
}
Copying all files
/usr/bin/git add -A .
/usr/bin/git commit -m Update reg_actions to output generated at runId:6996055543
[reg_actions (root-commit) c75990c] Update reg_actions to output generated at runId:6996055543
3 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 2023-11-26_6996055543_reg/actual/Regression.png
create mode 100644 2023-11-26_6996055543_reg/diff/Regression.png
create mode 100644 2023-11-26_6996055543_reg/expected/Regression.png
Pushing
/usr/bin/git rebase origin/reg_actions
fatal: invalid upstream 'origin/reg_actions'
/usr/bin/git rebase origin/reg_actions
fatal: invalid upstream 'origin/reg_actions'
/usr/bin/git rebase origin/reg_actions
fatal: invalid upstream 'origin/reg_actions'
/usr/bin/git rebase origin/reg_actions
fatal: invalid upstream 'origin/reg_actions'
/usr/bin/git rebase origin/reg_actions
fatal: invalid upstream 'origin/reg_actions'
/home/runner/work/_actions/reg-viz/reg-actions/v2/webpack:/reg-actions/lib/git.js:6
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
^
Error: Command 'git' failed with args 'rebase origin/reg_actions': fatal: invalid upstream 'origin/reg_actions'
: Error: The process '/usr/bin/git' failed with exit code 128
at /home/runner/work/_actions/reg-viz/reg-actions/v2/webpack:/reg-actions/lib/git.js:36:1
at Generator.throw (<anonymous>)
at rejected (/home/runner/work/_actions/reg-viz/reg-actions/v2/webpack:/reg-actions/lib/git.js:6:1)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
According to the error message, it seems that git is making an error because the reg_actions branch is missing.
Do I need to create the reg_actions branch beforehand?
If so, would I just create a reg_actions branch and push it?
@heavenshell Thanks for your report!
I implemented it so that the reg_actions branch would be automatically created if it does not exist. However, if that is not the case, it might be a bug. I will investigate.
Hello, Thank you for create nice GitHub actions.
I have been a long time user of reg-suit and it works great for me.
However I found your blog post and want to try reg-actions.
I set it up while reading the README, but got the following error.
According to the error message, it seems that git is making an error because the reg_actions branch is missing.
Do I need to create the
reg_actions
branch beforehand?If so, would I just create a
reg_actions
branch and push it?It would be helpful if you could add it to the README instructions.
Here is my test repository.
https://github.com/heavenshell/ts-reg-actions
I just setup storybook, storycap and reg-actions to main branch and I create new pull request.
Full action log is here.
https://github.com/heavenshell/ts-reg-actions/actions/runs/6996055543/job/19031541035
Thank you!
The text was updated successfully, but these errors were encountered: