()
| 108 | }; |
| 109 | |
| 110 | export const authenticate = () => { |
| 111 | const githubToken = process.env.GITHUB_TOKEN; |
| 112 | if (!githubToken) { |
| 113 | throw new Error('Missing GitHub token'); |
| 114 | } |
| 115 | |
| 116 | runCommand(`git remote set-url origin https://x-access-token:${githubToken}@github.com/${OWNER}/${REPOSITORY}`); |
| 117 | }; |
nothing calls this directly
no test coverage detected