Skip to content

Commit d588587

Browse files
testing..
1 parent 5dabf14 commit d588587

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

dist/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,11 +568,10 @@ async function updateReadme(data) {
568568
committerEmail,
569569
]);
570570
await exec('git', ['config', '--global', 'user.name', committerUsername]);
571-
await exec('git', ['pull', 'https://github.com/abhisheknaiidu/abhisheknaiidu']);
572571
await exec('git', ['add', README_FILE_PATH]);
573572
await exec('git', ['commit', '-m', commitMessage]);
574-
// await exec('git', ['fetch', '--unshallow', 'origin']);
575-
await exec('git', ['push', '--force']);
573+
// await exec('git', ['fetch']);
574+
await exec('git', ['push']);
576575
core.info("Readme updated successfully.");
577576
// Making job fail if one of the source fails
578577
process.exit(jobFailFlag ? 1 : 0);

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,10 @@ async function updateReadme(data) {
115115
committerEmail,
116116
]);
117117
await exec('git', ['config', '--global', 'user.name', committerUsername]);
118-
await exec('git', ['pull', 'https://github.com/abhisheknaiidu/abhisheknaiidu']);
119118
await exec('git', ['add', README_FILE_PATH]);
120119
await exec('git', ['commit', '-m', commitMessage]);
121-
// await exec('git', ['fetch', '--unshallow', 'origin']);
122-
await exec('git', ['push', '--force']);
120+
// await exec('git', ['fetch']);
121+
await exec('git', ['push']);
123122
core.info("Readme updated successfully.");
124123
// Making job fail if one of the source fails
125124
process.exit(jobFailFlag ? 1 : 0);

0 commit comments

Comments
 (0)