I'm working on a set of changes where the branches are prefixed with gdpr-*, and whenever I try to submit a PR with one of these branches, I get the following error:
error: src refspec pr-gdLPS-84401-roles-uad does not match any.
error: failed to push some refs to 'git@github.com:drewbrokke/liferay-portal-ee.git'
/usr/local/lib/node_modules/gh/lib/exec.js:53
throw err
^
Error: Child process terminated with error code 1
at Object.exports.spawnSyncStream (/usr/local/lib/node_modules/gh/lib/exec.js:49:15)
at Object.exports.push (/usr/local/lib/node_modules/gh/lib/git.js:62:17)
at /usr/local/lib/node_modules/gh/lib/cmds/pull-request.js:770:17
at /usr/local/lib/node_modules/gh/node_modules/async/lib/async.js:718:13
at iterate (/usr/local/lib/node_modules/gh/node_modules/async/lib/async.js:262:13)
at async.forEachOfSeries.async.eachOfSeries (/usr/local/lib/node_modules/gh/node_modules/async/lib/async.js:281:9)
at _parallel (/usr/local/lib/node_modules/gh/node_modules/async/lib/async.js:717:9)
at Object.async.series (/usr/local/lib/node_modules/gh/node_modules/async/lib/async.js:739:9)
at PullRequest.submit (/usr/local/lib/node_modules/gh/lib/cmds/pull-request.js:799:11)
at /usr/local/lib/node_modules/gh/lib/cmds/pull-request.js:1051:18
The local branch name is: gdpr-LPS-84401-roles-uad
And GH attempts to link to: pr-gdLPS-84401-roles-uad
I changed the pull_branch_name_prefix value in my ~/.gh.json config file, but I'd rather not have to change it to send these particular pulls. At least there's a workaround.
I'm working on a set of changes where the branches are prefixed with
gdpr-*
, and whenever I try to submit a PR with one of these branches, I get the following error:The local branch name is:
gdpr-LPS-84401-roles-uad
And GH attempts to link to:pr-gdLPS-84401-roles-uad