Skip to content

Commit 87d5818

Browse files
Merge pull request #242 from technote-space/release/v1.1.5
release/v1.1.5
2 parents d922983 + 4994868 commit 87d5818

File tree

4 files changed

+28
-39
lines changed

4 files changed

+28
-39
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@technote-space/github-action-helper",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"description": "Helper to filter GitHub Action.",
55
"author": {
66
"name": "Technote",
@@ -27,12 +27,12 @@
2727
],
2828
"dependencies": {
2929
"@actions/core": "^1.2.2",
30-
"@actions/github": "^2.1.0",
30+
"@actions/github": "^2.1.1",
3131
"shell-escape": "^0.2.0",
3232
"sprintf-js": "^1.1.2"
3333
},
3434
"devDependencies": {
35-
"@technote-space/github-action-test-helper": "^0.2.2",
35+
"@technote-space/github-action-test-helper": "^0.2.3",
3636
"@types/jest": "^25.1.3",
3737
"@types/node": "^13.7.4",
3838
"@typescript-eslint/eslint-plugin": "^2.20.0",
@@ -42,7 +42,7 @@
4242
"jest-circus": "^25.1.0",
4343
"nock": "^12.0.1",
4444
"ts-jest": "^25.2.1",
45-
"typescript": "^3.7.5"
45+
"typescript": "^3.8.2"
4646
},
4747
"publishConfig": {
4848
"access": "public"

src/utils.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,7 @@ export const getRefspec = (ref: string | Context, origin = 'origin'): string =>
8888

8989
export const getAccessToken = (required: boolean): string => getInput('GITHUB_TOKEN', {required});
9090

91-
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
92-
// @ts-ignore
93-
export const getOctokit = (token?: string): Octokit => new GitHub(token ?? getAccessToken(true), {
94-
log: {
95-
// eslint-disable-next-line @typescript-eslint/no-empty-function
96-
warn: function(): void {
97-
},
98-
},
99-
});
91+
export const getOctokit = (token?: string): Octokit => new GitHub(token ?? getAccessToken(true));
10092

10193
export const getActor = (): string => process.env.GITHUB_ACTOR || '';
10294

tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"compilerOptions": {
3-
/** to suppress @actions/github error **/
4-
"skipLibCheck": true,
5-
63
/* Basic Options */
74
// "incremental": true, /* Enable incremental compilation */
85
"target": "es6",

yarn.lock

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.2.2.tgz#3c4848d50378f9e3bcb67bcf97813382ec7369ee"
88
integrity sha512-IbCx7oefq+Gi6FWbSs2Fnw8VkEI6Y4gvjrYprY3RV//ksq/KPMlClOerJ4jRosyal6zkUIc8R9fS/cpRMlGClg==
99

10-
"@actions/github@^2.1.0":
11-
version "2.1.0"
12-
resolved "https://registry.yarnpkg.com/@actions/github/-/github-2.1.0.tgz#ca36cfb146b4c8955f3d5f88d8dde5f89194de21"
13-
integrity sha512-G4ncMlh4pLLAvNgHUYUtpWQ1zPf/VYqmRH9oshxLabdaOOnp7i1hgSgzr2xne2YUaSND3uqemd3YYTIsm2f/KQ==
10+
"@actions/github@^2.1.0", "@actions/github@^2.1.1":
11+
version "2.1.1"
12+
resolved "https://registry.yarnpkg.com/@actions/github/-/github-2.1.1.tgz#bcabedff598196d953f58ba750d5e75549a75142"
13+
integrity sha512-kAgTGUx7yf5KQCndVeHSwCNZuDBvPyxm5xKTswW2lofugeuC1AZX73nUUVDNaysnM9aKFMHv9YCdVJbg7syEyA==
1414
dependencies:
1515
"@actions/http-client" "^1.0.3"
1616
"@octokit/graphql" "^4.3.1"
17-
"@octokit/rest" "^16.15.0"
17+
"@octokit/rest" "^16.43.1"
1818

1919
"@actions/http-client@^1.0.3":
2020
version "1.0.6"
@@ -414,7 +414,7 @@
414414
once "^1.4.0"
415415
universal-user-agent "^4.0.0"
416416

417-
"@octokit/rest@^16.15.0":
417+
"@octokit/rest@^16.43.1":
418418
version "16.43.1"
419419
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.43.1.tgz#3b11e7d1b1ac2bbeeb23b08a17df0b20947eda6b"
420420
integrity sha512-gfFKwRT/wFxq5qlNjnW2dh+qh74XgTQ2B179UX5K1HYCluioWj8Ndbgqw2PVqa1NnVJkGHp2ovMpVn/DImlmkw==
@@ -450,18 +450,18 @@
450450
dependencies:
451451
type-detect "4.0.8"
452452

453-
"@technote-space/github-action-test-helper@^0.2.2":
454-
version "0.2.2"
455-
resolved "https://registry.yarnpkg.com/@technote-space/github-action-test-helper/-/github-action-test-helper-0.2.2.tgz#9bffeb1c315668c71e4680c77decc8766ffa9d14"
456-
integrity sha512-Y+e+/djMlCn5lEh9YcJGnqzEa0Zz/f+ID2cyzMDh4wHqXJelPBIv2LgqBaMM0L3zZ7HMlwghaVEqXerL2XD7SA==
453+
"@technote-space/github-action-test-helper@^0.2.3":
454+
version "0.2.3"
455+
resolved "https://registry.yarnpkg.com/@technote-space/github-action-test-helper/-/github-action-test-helper-0.2.3.tgz#44c5b41043ca290d36176e6adb04ad9b069bddd9"
456+
integrity sha512-D8am820P+975Ogg9/iiNzFTsgRbjkG46/fsBIf+jPoVnZAsUgv+q6uIyhO6O3Ame9pvN6VCN5dJm4hGo3NQpog==
457457
dependencies:
458458
"@actions/github" "^2.1.0"
459459
js-yaml "^3.13.1"
460460

461461
"@types/babel__core@^7.1.0":
462-
version "7.1.4"
463-
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.4.tgz#5c5569cc40e5f2737dfc00692f5444e871e4a234"
464-
integrity sha512-c/5MuRz5HM4aizqL5ViYfW4iEnmfPcfbH4Xa6GgLT21dMc1NGeNnuS6egHheOmP+kCJ9CAzC4pv4SDCWTnRkbg==
462+
version "7.1.5"
463+
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.5.tgz#e4d84704b4df868b3ad538365a13da2fa6dbc023"
464+
integrity sha512-+ckxwNj892FWgvwrUWLOghQ2JDgOgeqTPwrcl+0t1pG59CP8qMJ6S/efmEd999vCFSJKOpyMakvU+w380rduUQ==
465465
dependencies:
466466
"@babel/parser" "^7.1.0"
467467
"@babel/types" "^7.0.0"
@@ -485,9 +485,9 @@
485485
"@babel/types" "^7.0.0"
486486

487487
"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6":
488-
version "7.0.8"
489-
resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.0.8.tgz#479a4ee3e291a403a1096106013ec22cf9b64012"
490-
integrity sha512-yGeB2dHEdvxjP0y4UbRtQaSkXJ9649fYCmIdRoul5kfAoGCwxuCbMhag0k3RPfnuh9kPGm8x89btcfDEXdVWGw==
488+
version "7.0.9"
489+
resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.0.9.tgz#be82fab304b141c3eee81a4ce3b034d0eba1590a"
490+
integrity sha512-jEFQ8L1tuvPjOI8lnpaf73oCJe+aoxL6ygqSy6c8LcW98zaC+4mzWuQIRCEvKeCOu+lbqdXcg4Uqmm1S8AP1tw==
491491
dependencies:
492492
"@babel/types" "^7.3.0"
493493

@@ -3830,9 +3830,9 @@ ts-jest@^25.2.1:
38303830
yargs-parser "^16.1.0"
38313831

38323832
tslib@^1.8.1, tslib@^1.9.0:
3833-
version "1.10.0"
3834-
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
3835-
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
3833+
version "1.11.0"
3834+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.0.tgz#f1f3528301621a53220d58373ae510ff747a66bc"
3835+
integrity sha512-BmndXUtiTn/VDDrJzQE7Mm22Ix3PxgLltW9bSNLoeCY31gnG2OPx0QqJnuc9oMIKioYrz487i6K9o4Pdn0j+Kg==
38363836

38373837
tsutils@^3.17.1:
38383838
version "3.17.1"
@@ -3882,10 +3882,10 @@ typedarray-to-buffer@^3.1.5:
38823882
dependencies:
38833883
is-typedarray "^1.0.0"
38843884

3885-
typescript@^3.7.5:
3886-
version "3.7.5"
3887-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
3888-
integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==
3885+
typescript@^3.8.2:
3886+
version "3.8.2"
3887+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a"
3888+
integrity sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ==
38893889

38903890
union-value@^1.0.0:
38913891
version "1.0.1"

0 commit comments

Comments
 (0)