Skip to content

Commit 84dbd57

Browse files
authored
Merge pull request #94 from docker/dependabot/npm_and_yarn/actions/github-5.0.0
Bump @actions/github from 4.0.0 to 5.0.0
2 parents 4742d2f + 28d7c8b commit 84dbd57

File tree

8 files changed

+669
-347
lines changed

8 files changed

+669
-347
lines changed

__tests__/github.test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import * as path from 'path';
22
import * as github from '../src/github';
3-
import {ReposGetResponseData} from '@octokit/types';
43

54
jest.spyOn(github, 'repo').mockImplementation(
6-
(): Promise<ReposGetResponseData> => {
7-
return <Promise<ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json'));
5+
(): Promise<github.ReposGetResponseData> => {
6+
return <Promise<github.ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json'));
87
}
98
);
109

__tests__/meta.test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ import {getInputs, Inputs} from '../src/context';
66
import * as github from '../src/github';
77
import {Meta, Version} from '../src/meta';
88
import {Context} from '@actions/github/lib/context';
9-
import {ReposGetResponseData} from '@octokit/types';
109

1110
jest.spyOn(github, 'repo').mockImplementation(
12-
(): Promise<ReposGetResponseData> => {
13-
return <Promise<ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json'));
11+
(): Promise<github.ReposGetResponseData> => {
12+
return <Promise<github.ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json'));
1413
}
1514
);
1615

0 commit comments

Comments
 (0)