Skip to content

Commit 445186b

Browse files
committed
remove old publish workflow
1 parent bca74cf commit 445186b

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

tasks/daily-slack-bot.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,8 +1620,8 @@ async function checkIndividualContractVerification(
16201620
const lastWorkflowId = lastWorkflow.id;
16211621
const lastWorkflowUsage = await getDataAsJson(
16221622
"https://api.github.com/repos/superfluid-finance/protocol-monorepo/actions/runs/" +
1623-
lastWorkflowId +
1624-
"/timing",
1623+
lastWorkflowId +
1624+
"/timing",
16251625
);
16261626

16271627
const workflowStatus = lastWorkflow.status;
@@ -1642,8 +1642,8 @@ async function checkIndividualContractVerification(
16421642
async function getPrOldestCommit(prJson) {
16431643
let allCommits = await getDataAsJson(
16441644
"https://api.github.com/repos/superfluid-finance/protocol-monorepo/pulls/" +
1645-
prJson.number +
1646-
"/commits",
1645+
prJson.number +
1646+
"/commits",
16471647
);
16481648
return allCommits[allCommits.length - 1];
16491649
}
@@ -1835,14 +1835,14 @@ async function checkIndividualContractVerification(
18351835
addSectionWithImage(
18361836
webhookPayload,
18371837
"Please have a look at: *<" +
1838-
oldestDraftPRUrl +
1839-
"|" +
1840-
oldestDraftPRTitle +
1841-
">*\nColumbus would have went to America " +
1842-
americaTrips +
1843-
" times already by this time ,do something with this as this has been open for *" +
1844-
lastDraftPrUpdateBeforeDays +
1845-
"* days",
1838+
oldestDraftPRUrl +
1839+
"|" +
1840+
oldestDraftPRTitle +
1841+
">*\nColumbus would have went to America " +
1842+
americaTrips +
1843+
" times already by this time ,do something with this as this has been open for *" +
1844+
lastDraftPrUpdateBeforeDays +
1845+
"* days",
18461846
redWarningIcon,
18471847
"It took them 36 days",
18481848
);
@@ -1867,10 +1867,10 @@ async function checkIndividualContractVerification(
18671867
} else {
18681868
let draftMessage = oldestDraftPR
18691869
? "There are no open PRs????? *<" +
1870-
allPullRequests +
1871-
"|" +
1872-
amountOfDraftPRs +
1873-
" pull requests are in draft , you might want to look into those>*"
1870+
allPullRequests +
1871+
"|" +
1872+
amountOfDraftPRs +
1873+
" pull requests are in draft , you might want to look into those>*"
18741874
: "There are no open and draft PRs? What is this, why u no work, you might want to read this:\n*<https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request|How to create a pull request>*";
18751875
addSectionWithImage(
18761876
webhookPayload,
@@ -1901,9 +1901,9 @@ async function checkIndividualContractVerification(
19011901
addContextWithImage(
19021902
webhookPayload,
19031903
"*The PR has been last updated before " +
1904-
lastUpdatedBeforeDays +
1905-
" days*\nLast commit: " +
1906-
oldestPRMessage,
1904+
lastUpdatedBeforeDays +
1905+
" days*\nLast commit: " +
1906+
oldestPRMessage,
19071907
imageToAddToContext,
19081908
imageText,
19091909
);

0 commit comments

Comments
 (0)