Skip to content

Commit

Permalink
Merge pull request #94 from docker/dependabot/npm_and_yarn/actions/gi…
Browse files Browse the repository at this point in the history
…thub-5.0.0

Bump @actions/github from 4.0.0 to 5.0.0
  • Loading branch information
crazy-max committed May 25, 2021
2 parents 4742d2f + 28d7c8b commit 84dbd57
Show file tree
Hide file tree
Showing 8 changed files with 669 additions and 347 deletions.
5 changes: 2 additions & 3 deletions __tests__/github.test.ts
@@ -1,10 +1,9 @@
import * as path from 'path';
import * as github from '../src/github';
import {ReposGetResponseData} from '@octokit/types';

jest.spyOn(github, 'repo').mockImplementation(
(): Promise<ReposGetResponseData> => {
return <Promise<ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json'));
(): Promise<github.ReposGetResponseData> => {
return <Promise<github.ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json'));
}
);

Expand Down
5 changes: 2 additions & 3 deletions __tests__/meta.test.ts
Expand Up @@ -6,11 +6,10 @@ import {getInputs, Inputs} from '../src/context';
import * as github from '../src/github';
import {Meta, Version} from '../src/meta';
import {Context} from '@actions/github/lib/context';
import {ReposGetResponseData} from '@octokit/types';

jest.spyOn(github, 'repo').mockImplementation(
(): Promise<ReposGetResponseData> => {
return <Promise<ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json'));
(): Promise<github.ReposGetResponseData> => {
return <Promise<github.ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json'));
}
);

Expand Down

0 comments on commit 84dbd57

Please sign in to comment.