Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

env:
NODE_VERSION: '18.x' # set this to the node version to use (supports 8.x, 10.x, 12.x)
NODE_VERSION: '20.x' # set this to the node version to use (supports 8.x, 10.x, 12.x)
RESOURCE_GROUP_NAME: TypeScriptReposAutomation2
FUNCTION_APP_NAME: TypeScriptReposAutomation2
STORAGE_ACCOUNT_NAME: typescriptreposauto997e
Expand Down
1 change: 0 additions & 1 deletion .knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
],
"ignore": ["dist/**", "src/util/createCLILogger.ts", "src/util/tests/**"],
"ignoreBinaries": ["func"],
"ignoreDependencies": ["@types/jest"],
"ignoreExportsUsedInFile": true
}
2 changes: 1 addition & 1 deletion functions/NPMNewTSReleaseWebhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type NPMWebhook = {
}

const crypto = require('crypto');
const httpTrigger: HttpHandler = async function (req, context) {
const httpTrigger: HttpHandler = async function (req, _context) {
const bodyText = await req.text();
const expectedSignature = crypto
.createHmac('sha256', process.env.NPM_HOOK_SECRET)
Expand Down
3 changes: 0 additions & 3 deletions functions/TypeScriptRepoPullRequestWebhook.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { app, HttpHandler } from "@azure/functions"

import { handlePullRequestPayload } from "../src/anyRepoHandlePullRequest";
import { anyRepoHandleStatusUpdate } from "../src/anyRepoHandleStatusUpdate";
import { anyRepoHandleIssueCommentPayload } from "../src/anyRepoHandleIssueComment";
import { handleIssuePayload } from "../src/anyRepoHandleIssue";
import { verifyGitHubWebhook } from "../src/util/verifyWebhook";
Expand Down Expand Up @@ -29,8 +28,6 @@ const httpTrigger: HttpHandler = async function (request, context) {
case "pull_request":
return handlePullRequestPayload(body, context);

case "status":
return anyRepoHandleStatusUpdate(body, context);

case "issue_comment":
return anyRepoHandleIssueCommentPayload(body, context)
Expand Down
Loading
Loading