remove commented code

This commit is contained in:
Peter Evans 2024-07-27 21:35:27 +00:00
parent 0f72e35b7f
commit 743dcd81f7
2 changed files with 0 additions and 21 deletions

View file

@ -210,18 +210,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
}
})
// let repoOwner = process.env.GITHUB_REPOSITORY!.split('/')[0]
// if (inputs.pushToFork) {
// const forkName = await githubHelper.getRepositoryParent(
// baseRemote.repository
// )
// if (!forkName) {
// repoOwner = forkName!
// }
// }
// const repoName = process.env.GITHUB_REPOSITORY!.split('/')[1]
const [repoOwner, repoName] = branchRepository.split('/')
core.debug(`repoOwner: '${repoOwner}', repoName: '${repoName}'`)
const refQuery = `
query GetRefId($repoName: String!, $repoOwner: String!, $branchName: String!) {