Skip to content

Commit 71c5ef5

Browse files
fix(deps): update dependency probot to v13 (#2767)
* fix(deps): update dependency probot to v13 * chore(dependencies): updated changesets for modified dependencies --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b87652f commit 71c5ef5

File tree

5 files changed

+273
-633
lines changed

5 files changed

+273
-633
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@graphql-inspector/action': patch
3+
---
4+
dependencies updates:
5+
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/probot/v/13.2.2) (from
6+
`12.3.3`, in `dependencies`)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"husky": "9.0.11",
4949
"immer": "10.1.1",
5050
"js-yaml": "4.1.0",
51-
"probot": "12.4.0",
51+
"probot": "13.2.2",
5252
"shelljs": "0.8.5",
5353
"vite-tsconfig-paths": "5.1.4",
5454
"yargs": "17.7.2"

packages/action/helpers/logger.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as probot from 'probot';
1+
import type { Context } from 'probot';
22

33
export interface Logger {
44
log(msg: string): void;
@@ -7,13 +7,13 @@ export interface Logger {
77
error(msg: string | Error, error?: Error): void;
88
}
99

10-
export function createLogger(label: string, context: probot.Context, release: string): Logger {
10+
export function createLogger(label: string, context: Context, release: string): Logger {
1111
const id = Math.random().toString(16).substr(2, 5);
1212
const prefix = (msg: string) => `${label} ${id} - release-${release.substr(0, 7)} : ${msg}`;
1313

1414
return {
1515
log(msg: string) {
16-
context.log(prefix(msg));
16+
context.log.info(prefix(msg));
1717
},
1818
info(msg: string) {
1919
context.log.info(prefix(msg));

packages/action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"@graphql-inspector/core": "workspace:*",
7878
"dataloader": "2.2.2",
7979
"js-yaml": "4.1.0",
80-
"probot": "12.3.3",
80+
"probot": "13.2.2",
8181
"tslib": "2.6.2"
8282
},
8383
"devDependencies": {

0 commit comments

Comments
 (0)