Skip to content

Commit

Permalink
Update the scanning scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
one-aalam committed Sep 15, 2021
1 parent 60bda35 commit cddc5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function run(): Promise<void> {
core.warning(`Found ${fileCount} files. Moved drafts: ${draftCount}`);

if (draftCount > 0) {
const remote_repo = `https://${githubActor}:${githubToken}@github.com/${githubRepository}.git`;
const remote_repo = `https://${githubActor}:${githubToken}@github.com/${gitUsername}/${githubRepository}.git`;
await exec('git', ['commit', '-m', gitMessage]);
await exec('git', ['push', remote_repo, `HEAD:${branch}`, '--follow-tags', '--force']);
}
Expand Down

0 comments on commit cddc5e5

Please sign in to comment.