Skip to content

Commit

Permalink
[skip-ci] Published 2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
gkr-bot committed Nov 24, 2024
1 parent 31955c4 commit 995aec6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3949,7 +3949,7 @@ var require_library = __commonJS({
return new Promise(async (resolve, reject) => {
try {
writeDetectionCheck(autoWriteCheck2, reject, resolve);
const diffInDays = await getDiffInDays();
const diffInDays = timeElapsed2 === 0 ? 0 : await getDiffInDays();
if (diffInDays >= timeElapsed2) {
await execute("git", [
"config",
Expand Down Expand Up @@ -4000,7 +4000,7 @@ var require_library = __commonJS({
return new Promise(async (resolve, reject) => {
try {
writeDetectionCheck(autoWriteCheck2, reject, resolve);
const diffInDays = await getDiffInDays();
const diffInDays = timeElapsed2 === 0 ? 0 : await getDiffInDays();
if (diffInDays >= timeElapsed2) {
const octokit = new Octokit({
auth: githubToken2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "keepalive-workflow",
"version": "2.0.7",
"version": "2.0.8",
"description": "GitHub action to prevent GitHub from suspending your cronjob based trigger due to repository inactivity",
"main": "library.js",
"scripts": {
Expand Down

0 comments on commit 995aec6

Please # to comment.