Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 5ccc59f
Author: Hasan <aldoyh@gmail.com>
Date:   Tue Jul 18 22:46:35 2023 +0300

    Furthermore

commit 4d4fb66
Author: Hasan <aldoyh@gmail.com>
Date:   Tue Jul 18 22:38:15 2023 +0300

    Squashed commit of the following:

    commit a75ad38
    Author: Hasan <aldoyh@gmail.com>
    Date:   Tue Jul 18 22:33:46 2023 +0300

        Another ⛵️⛵️

    commit 771c564
    Author: doy•Tech <aldoyh@gmail.com>
    Date:   Tue Jul 18 22:11:56 2023 +0300

        Update action.yml

    commit 672d319
    Author: doy•Tech <aldoyh@gmail.com>
    Date:   Tue Jul 18 21:42:16 2023 +0300

        Update action.yml

    commit 43b2f89
    Author: Hasan <aldoyh@gmail.com>
    Date:   Tue Jul 18 21:25:45 2023 +0300

        Built 🚜

    commit 2ff714a
    Author: Hasan <aldoyh@gmail.com>
    Date:   Tue Jul 18 21:17:25 2023 +0300

        Removed git push 2

    commit e20b84f
    Author: Hasan <aldoyh@gmail.com>
    Date:   Tue Jul 18 21:10:00 2023 +0300

        git push moved to gh-actions

    commit 14d1bbd
    Author: Hasan <aldoyh@gmail.com>
    Date:   Tue Jul 18 17:27:39 2023 +0300

        Removed files

    commit 08f8b5f
    Author: Hasan <aldoyh@gmail.com>
    Date:   Tue Jul 18 17:25:58 2023 +0300

        Error handling

    commit bd93038
    Author: Hasan <aldoyh@gmail.com>
    Date:   Tue Jul 18 17:19:52 2023 +0300

        Added php files

    commit 9272445
    Author: doy•Tech <aldoyh@gmail.com>
    Date:   Wed Jul 12 12:44:10 2023 +0300

        Update action.yml

    commit 937bc98
    Author: doy•Tech <aldoyh@gmail.com>
    Date:   Sun Jul 9 14:02:30 2023 +0300

        Update index.js

    commit 0b2b408
    Author: doy•Tech <aldoyh@gmail.com>
    Date:   Mon Jul 3 14:59:59 2023 +0300

        Update README.md

commit 6b7060f
Author: doy•Tech <aldoyh@gmail.com>
Date:   Mon Jul 3 14:59:59 2023 +0300

    Update README.md
  • Loading branch information
aldoyh committed Jul 18, 2023
1 parent a75ad38 commit acc7596
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
16 changes: 14 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6192,7 +6192,19 @@ async function updateReadme(data) {
const longestStreak = [
`⏳ Longest streak is **${goals.max_daily_streak.count}** days`,
];
// todoist.push(longestStreak);
todoist.push(longestStreak);

const currentStreak = [
`🔥 Current streak is **${goals.current_streak.count}** days`,
];
todoist.push(currentStreak);

/**
*
*
*
* Done with composition of todoist array
*/

if (todoist.length == 0) return;

Expand Down Expand Up @@ -6227,7 +6239,7 @@ async function updateReadme(data) {
// }


process.exit(1);
process.exit(0);


// GitHub Action git push
Expand Down
14 changes: 13 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ async function updateReadme(data) {
];
// todoist.push(longestStreak);

const currentStreak = [
`🔥 Current streak is **${goals.current_streak.count}** days`,
];
todoist.push(currentStreak);

/**
*
*
*
* Done with composition of todoist array
*/

if (todoist.length == 0) return;

if (todoist.length > 0) {
Expand Down Expand Up @@ -81,7 +93,7 @@ async function updateReadme(data) {
// }


process.exit(1);
process.exit(0);


// GitHub Action git push
Expand Down

0 comments on commit acc7596

Please sign in to comment.