From b8af38609521172c60d57a06ab7e861d07411aab Mon Sep 17 00:00:00 2001 From: Technote Date: Sun, 1 Mar 2020 01:18:36 +0900 Subject: [PATCH 1/2] fix: use env token --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5dbb8ce..2e6cd79 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,7 +22,7 @@ export const execute = async(): Promise => { const config = getConfig(commander.package); const args = getContextArgs(commander.tag, commander.branch, config); - setEnv(config, commander.token, commander.workspace); + setEnv(config, token, commander.workspace); if (!isValidContext(args)) { console.log('This is not target tag'); return; From 4d8e064d279a33234afe471e1a48d629c64cce2f Mon Sep 17 00:00:00 2001 From: technote-space Date: Sat, 29 Feb 2020 16:20:40 +0000 Subject: [PATCH 2/2] chore: update npm dependencies --- package.json | 4 ++-- yarn.lock | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index db5b887..799c7ff 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,8 @@ "devDependencies": { "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.3.4", - "@technote-space/github-action-helper": "^1.2.1", - "@technote-space/github-action-test-helper": "^0.2.4", + "@technote-space/github-action-helper": "^1.2.2", + "@technote-space/github-action-test-helper": "^0.2.5", "@types/jest": "^25.1.3", "@types/node": "^13.7.7", "@typescript-eslint/eslint-plugin": "^2.21.0", diff --git a/yarn.lock b/yarn.lock index aff8159..0623518 100644 --- a/yarn.lock +++ b/yarn.lock @@ -604,27 +604,27 @@ type-detect "4.0.8" "@technote-space/filter-github-action@^0.2.4": - version "0.2.4" - resolved "https://registry.yarnpkg.com/@technote-space/filter-github-action/-/filter-github-action-0.2.4.tgz#927f147c4b3ca0afa6af49875687c7d51d2e336d" - integrity sha512-/EK6LVXUr0w91bFIiIcYrG2KTxeOd8V58P+5IWstFArp6Svf5I1uOtPmZmvt4pOfTQtRiSVRNnVQZmGe5Lu8Pw== + version "0.2.5" + resolved "https://registry.yarnpkg.com/@technote-space/filter-github-action/-/filter-github-action-0.2.5.tgz#53aea7cf9026bb86cb89ad2053197d07336e9c86" + integrity sha512-+hKxXMVdmkB0tTVZLvUwwLLHYiweD8DJZUuPjjrmXJgu6HC6j349gywYCSBmBjoFAlGip+vhbpKnWBNDV2ht+g== dependencies: "@actions/core" "^1.2.2" "@actions/github" "^2.1.1" -"@technote-space/github-action-helper@^1.2.0", "@technote-space/github-action-helper@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@technote-space/github-action-helper/-/github-action-helper-1.2.1.tgz#16cdf2c68b693c4f3a29ea4f7100b9ce54475a0f" - integrity sha512-1mdkIyekaBTBsPLkCVW8utZLRDHUcQguhrqixzTtXWGgLsA7pELjABAr2jQ42Z6Ww9VvsnjaoVBwzgD0/XWPxg== +"@technote-space/github-action-helper@^1.2.0", "@technote-space/github-action-helper@^1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@technote-space/github-action-helper/-/github-action-helper-1.2.2.tgz#59b7df8e33b76b85318b5ed31b43f60ccb92493f" + integrity sha512-19qwKzHKbfRGy8avyYi3x/ekvLoWvE3Qv2bUf6kQDQDPS2/WRW2p9lCUtSjEecZ3Sa65t/cTcgjYuMUWwOtc8g== dependencies: "@actions/core" "^1.2.2" "@actions/github" "^2.1.1" shell-escape "^0.2.0" sprintf-js "^1.1.2" -"@technote-space/github-action-test-helper@^0.2.4": - version "0.2.4" - resolved "https://registry.yarnpkg.com/@technote-space/github-action-test-helper/-/github-action-test-helper-0.2.4.tgz#9ff122c173caed66d7d1a7c98136f397e876e5de" - integrity sha512-yU+KbfZ8+nn6uwMK0TN8W+PoyM2zS8x0lYABVS+077wqLubLIs5PQyFRggNOZPVg51aRWFI1if87VG7QBuan8Q== +"@technote-space/github-action-test-helper@^0.2.5": + version "0.2.5" + resolved "https://registry.yarnpkg.com/@technote-space/github-action-test-helper/-/github-action-test-helper-0.2.5.tgz#86529a9c9478eb19dfcdcef02da1760df029c5cc" + integrity sha512-AU0WBHoBNMrSX0vKnCBeNQ2+sdOGHEs2O8IqYVocITsqe3tCwpcYRaubulXfP6tpgW+0SOtMyjgvL9DEyDDFhA== dependencies: "@actions/github" "^2.1.1" js-yaml "^3.13.1"