File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2121 node-version : ' 22'
2222
2323 - name : Install dependencies
24- run : npm install --include=dev --omit=prod
24+ run : npm install --include=dev
2525
2626 - name : Run semantic-release
2727 env :
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default async (pluginConfig, context) => {
3333 throw new Error ( `Missing GitHub token.` ) ;
3434 }
3535
36- const octokit = new Octokit ( { auth : githubToken } ) ;
36+ const octokit = new Octokit ( { auth : GH_TOKEN } ) ;
3737 const umbrellaRepoUrl = `https://github.com/${ umbrellaRepoOwner } /${ umbrellaRepoName } .git` ;
3838 const localRepoPath = path . resolve ( `./tmp-umbrella-repo-${ Date . now ( ) } ` ) ; // Temporary local path for clone
3939
@@ -47,7 +47,7 @@ export default async (pluginConfig, context) => {
4747 logger . log ( `Cloning ${ umbrellaRepoUrl } to ${ localRepoPath } ` ) ;
4848
4949 // // --- 1. Clone the umbrella repository ---
50- const authenticatedUrl = `https://x-access-token:${ githubToken } @github.com/${ umbrellaRepoOwner } /${ umbrellaRepoName } .git` ;
50+ const authenticatedUrl = `https://x-access-token:${ GH_TOKEN } @github.com/${ umbrellaRepoOwner } /${ umbrellaRepoName } .git` ;
5151 execSync ( `git clone --depth 1 --branch ${ baseBranch } ${ authenticatedUrl } ${ localRepoPath } ` , { stdio : 'inherit' } ) ;
5252
5353 // // --- 2. Configure Git User ---
You can’t perform that action at this time.
0 commit comments