From 43f3196fa863f88930f40d039e4f3c3e175a1630 Mon Sep 17 00:00:00 2001 From: shimataro Date: Tue, 21 Jan 2020 23:09:13 +0900 Subject: [PATCH 01/15] * update examples (#84) --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index e745912..6953fea 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,6 @@ steps: name: id_rsa # optional known-hosts: ${{ secrets.KNOWN_HOSTS }} # known_hosts; optional config: ${{ secrets.CONFIG }} # ssh_config; optional -- name: Install packages - run: apt install openssh-client rsync - name: rsync over ssh run: rsync ./foo/ user@remote:bar/ ``` @@ -70,8 +68,6 @@ steps: User user-of-target IdentityFile ~/.ssh/id_rsa-target ProxyCommand ssh -W %h:%p bastion -- name: Install packages - run: apt install openssh-client - name: SCP via port-forwarding run: scp ./foo/ target:bar/ ``` From 410fe0c2fb2b9ee7a12f95518c9133a7720db5f9 Mon Sep 17 00:00:00 2001 From: shimataro Date: Wed, 22 Jan 2020 23:50:32 +0900 Subject: [PATCH 02/15] * add note about key format (#86) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6953fea..799186f 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ Useful for SCP, SFTP, and `rsync` over SSH in deployment script. Add your SSH key to your product secrets by clicking `Settings` - `Secrets` - `Add a new secret` beforehand. +**NOTE:** Due to version of OpenSSH on VM, OpenSSH key format (begins with `-----BEGIN OPENSSH PRIVATE KEY-----`) may not work. Please use PEM format (begins with `-----BEGIN RSA PRIVATE KEY-----`) instead. + ```yaml runs-on: ubuntu-latest steps: From 918fed51a130cddd684a8ee68e1a1cffb42f7016 Mon Sep 17 00:00:00 2001 From: shimataro Date: Thu, 23 Jan 2020 23:20:07 +0900 Subject: [PATCH 03/15] Feature/scripts (#87) * * refactor create-release-branch.sh * * refactor rebuild.sh * * refactor update-dependencies.sh --- scripts/create-release-branch.sh | 22 ++++++++++------------ scripts/rebuild.sh | 2 ++ scripts/update-dependencies.sh | 20 +++++++++++--------- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/scripts/create-release-branch.sh b/scripts/create-release-branch.sh index 210c5fc..a736165 100755 --- a/scripts/create-release-branch.sh +++ b/scripts/create-release-branch.sh @@ -3,6 +3,8 @@ # - git; I believe it's already installed. # - sed; GNU sed is preferred. POSIX sed may not work. +set -e + BASE_BRANCH="develop" PACKAGE_NAME="ssh-key-action" @@ -36,14 +38,14 @@ function main() { check_version_format ${VERSION} check_current_branch - run create_branch ${BRANCH} - run update_changelog ${VERSION} - run update_package_version ${VERSION} - run update_dependencies_version - run regenerate_package_lock - run build_package - run commit_changes ${VERSION} - run finish ${VERSION} ${BRANCH} ${TAG} + create_branch ${BRANCH} + update_changelog ${VERSION} + update_package_version ${VERSION} + update_dependencies_version + regenerate_package_lock + build_package + commit_changes ${VERSION} + finish ${VERSION} ${BRANCH} ${TAG} } function usage() { @@ -91,10 +93,6 @@ function check_current_branch() { exit 2 } -function run() { - "$@" || exit 1 -} - function create_branch() { local BRANCH=$1 diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh index fbc39c2..8301938 100755 --- a/scripts/rebuild.sh +++ b/scripts/rebuild.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + rm -rf node_modules package-lock.json npm i npm run build diff --git a/scripts/update-dependencies.sh b/scripts/update-dependencies.sh index b859641..7ae8bb8 100755 --- a/scripts/update-dependencies.sh +++ b/scripts/update-dependencies.sh @@ -1,30 +1,32 @@ #!/bin/bash # update dependencies +set -e + DATE=$(date +"%Y%m%d") BRANCH=feature/update-dependencies-${DATE} COLOR_SUCCESS="\e[1;32m" COLOR_RESET="\e[m" # create branch -git checkout develop || exit 1 -git checkout -b ${BRANCH} || exit 1 +git checkout develop +git checkout -b ${BRANCH} # check updates npm ci -npm run check-updates -- -u || exit 1 +npm run check-updates -- -u # re-install packages -rm -rf package-lock.json node_modules || exit 1 -npm i || exit 1 +rm -rf package-lock.json node_modules +npm i # build check -npm run build || exit 1 +npm run build # commit -npm ci --only=production || exit 1 -git add package.json package-lock.json node_modules || exit 1 -git commit -m "update dependencies" || exit 1 +npm ci --only=production +git add package.json package-lock.json node_modules +git commit -m "update dependencies" # finished! echo -e " From ccd2b7e901fa8111f24178f916925cc27fc95007 Mon Sep 17 00:00:00 2001 From: shimataro Date: Sat, 25 Jan 2020 08:10:07 +0900 Subject: [PATCH 04/15] Feature/key notice (#88) * * update key notice * rerun CI --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 799186f..6d2ab76 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Useful for SCP, SFTP, and `rsync` over SSH in deployment script. Add your SSH key to your product secrets by clicking `Settings` - `Secrets` - `Add a new secret` beforehand. -**NOTE:** Due to version of OpenSSH on VM, OpenSSH key format (begins with `-----BEGIN OPENSSH PRIVATE KEY-----`) may not work. Please use PEM format (begins with `-----BEGIN RSA PRIVATE KEY-----`) instead. +**NOTE:** Due to version of OpenSSH on VM, OPENSSH format (key begins with `-----BEGIN OPENSSH PRIVATE KEY-----`) may not work. Please use PEM format (begins with `-----BEGIN RSA PRIVATE KEY-----`) instead. ```yaml runs-on: ubuntu-latest From 041a5e76735010c45a100e2d0ccf870b3baf0d81 Mon Sep 17 00:00:00 2001 From: shimataro Date: Sat, 25 Jan 2020 08:17:40 +0900 Subject: [PATCH 05/15] * update badges for v1 (#89) --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6d2ab76..ff00f0f 100644 --- a/README.md +++ b/README.md @@ -82,15 +82,15 @@ The scripts and documentation in this project are released under the [MIT Licens See [CHANGELOG.md](CHANGELOG.md). -[image-build]: https://github.com/shimataro/ssh-key-action/workflows/Build/badge.svg +[image-build]: https://github.com/shimataro/ssh-key-action/workflows/Build/badge.svg?event=push&branch=v1 [link-build]: https://github.com/shimataro/ssh-key-action -[image-verify-windows]: https://github.com/shimataro/ssh-key-action/workflows/Windows/badge.svg -[image-verify-macos]: https://github.com/shimataro/ssh-key-action/workflows/macOS/badge.svg -[image-verify-ubuntu]: https://github.com/shimataro/ssh-key-action/workflows/Ubuntu/badge.svg -[image-verify-ubuntu1604]: https://github.com/shimataro/ssh-key-action/workflows/Ubuntu%2016.04/badge.svg +[image-verify-windows]: https://github.com/shimataro/ssh-key-action/workflows/Windows/badge.svg?event=push&branch=v1 [link-verify-windows]: https://github.com/shimataro/ssh-key-action +[image-verify-macos]: https://github.com/shimataro/ssh-key-action/workflows/macOS/badge.svg?event=push&branch=v1 [link-verify-macos]: https://github.com/shimataro/ssh-key-action +[image-verify-ubuntu]: https://github.com/shimataro/ssh-key-action/workflows/Ubuntu/badge.svg?event=push&branch=v1 [link-verify-ubuntu]: https://github.com/shimataro/ssh-key-action +[image-verify-ubuntu1604]: https://github.com/shimataro/ssh-key-action/workflows/Ubuntu%2016.04/badge.svg?event=push&branch=v1 [link-verify-ubuntu1604]: https://github.com/shimataro/ssh-key-action [image-release]: https://img.shields.io/github/release/shimataro/ssh-key-action.svg [link-release]: https://github.com/shimataro/ssh-key-action/releases From 53aa96fbadb17d7e00c3a518283c2f7c682029ea Mon Sep 17 00:00:00 2001 From: shimataro Date: Sat, 25 Jan 2020 09:29:15 +0900 Subject: [PATCH 06/15] update dependencies (#90) --- node_modules/@actions/core/lib/command.d.ts | 6 +- node_modules/@actions/core/lib/command.js | 39 +++++----- node_modules/@actions/core/lib/command.js.map | 2 +- node_modules/@actions/core/lib/core.js | 11 ++- node_modules/@actions/core/lib/core.js.map | 2 +- node_modules/@actions/core/package.json | 8 +-- package-lock.json | 71 +++++++++---------- package.json | 8 +-- 8 files changed, 79 insertions(+), 68 deletions(-) diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts index 7f6fecb..51b8f11 100644 --- a/node_modules/@actions/core/lib/command.d.ts +++ b/node_modules/@actions/core/lib/command.d.ts @@ -5,11 +5,11 @@ interface CommandProperties { * Commands * * Command Format: - * ##[name key=value;key=value]message + * ::name key=value,key=value::message * * Examples: - * ##[warning]This is the user warning message - * ##[set-secret name=mypassword]definitelyNotAPassword! + * ::warning::This is the message + * ::set-env name=MY_VAR::some value */ export declare function issueCommand(command: string, properties: CommandProperties, message: string): void; export declare function issue(name: string, message?: string): void; diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js index aaed8b7..eeef233 100644 --- a/node_modules/@actions/core/lib/command.js +++ b/node_modules/@actions/core/lib/command.js @@ -1,15 +1,22 @@ "use strict"; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); -const os = require("os"); +const os = __importStar(require("os")); /** * Commands * * Command Format: - * ##[name key=value;key=value]message + * ::name key=value,key=value::message * * Examples: - * ##[warning]This is the user warning message - * ##[set-secret name=mypassword]definitelyNotAPassword! + * ::warning::This is the message + * ::set-env name=MY_VAR::some value */ function issueCommand(command, properties, message) { const cmd = new Command(command, properties, message); @@ -45,29 +52,27 @@ class Command { else { cmdStr += ','; } - // safely append the val - avoid blowing up when attempting to - // call .replace() if message is not a string for some reason - cmdStr += `${key}=${escape(`${val || ''}`)}`; + cmdStr += `${key}=${escapeProperty(val)}`; } } } } - cmdStr += CMD_STRING; - // safely append the message - avoid blowing up when attempting to - // call .replace() if message is not a string for some reason - const message = `${this.message || ''}`; - cmdStr += escapeData(message); + cmdStr += `${CMD_STRING}${escapeData(this.message)}`; return cmdStr; } } function escapeData(s) { - return s.replace(/\r/g, '%0D').replace(/\n/g, '%0A'); + return (s || '') + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A'); } -function escape(s) { - return s +function escapeProperty(s) { + return (s || '') + .replace(/%/g, '%25') .replace(/\r/g, '%0D') .replace(/\n/g, '%0A') - .replace(/]/g, '%5D') - .replace(/;/g, '%3B'); + .replace(/:/g, '%3A') + .replace(/,/g, '%2C'); } //# sourceMappingURL=command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/command.js.map b/node_modules/@actions/core/lib/command.js.map index 7904e22..00a9861 100644 --- a/node_modules/@actions/core/lib/command.js.map +++ b/node_modules/@actions/core/lib/command.js.map @@ -1 +1 @@ -{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;AAAA,yBAAwB;AAQxB;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAe;IAEf,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AAC/C,CAAC;AAPD,oCAOC;AAED,SAAgB,KAAK,CAAC,IAAY,EAAE,UAAkB,EAAE;IACtD,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACjC,CAAC;AAFD,sBAEC;AAED,MAAM,UAAU,GAAG,IAAI,CAAA;AAEvB,MAAM,OAAO;IAKX,YAAY,OAAe,EAAE,UAA6B,EAAE,OAAe;QACzE,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,iBAAiB,CAAA;SAC5B;QAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,QAAQ;QACN,IAAI,MAAM,GAAG,UAAU,GAAG,IAAI,CAAC,OAAO,CAAA;QAEtC,IAAI,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YAC9D,MAAM,IAAI,GAAG,CAAA;YACb,IAAI,KAAK,GAAG,IAAI,CAAA;YAChB,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE;gBACjC,IAAI,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;oBACvC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,IAAI,KAAK,EAAE;4BACT,KAAK,GAAG,KAAK,CAAA;yBACd;6BAAM;4BACL,MAAM,IAAI,GAAG,CAAA;yBACd;wBAED,8DAA8D;wBAC9D,6DAA6D;wBAC7D,MAAM,IAAI,GAAG,GAAG,IAAI,MAAM,CAAC,GAAG,GAAG,IAAI,EAAE,EAAE,CAAC,EAAE,CAAA;qBAC7C;iBACF;aACF;SACF;QAED,MAAM,IAAI,UAAU,CAAA;QAEpB,kEAAkE;QAClE,6DAA6D;QAC7D,MAAM,OAAO,GAAG,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,EAAE,CAAA;QACvC,MAAM,IAAI,UAAU,CAAC,OAAO,CAAC,CAAA;QAE7B,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AACtD,CAAC;AAED,SAAS,MAAM,CAAC,CAAS;IACvB,OAAO,CAAC;SACL,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} \ No newline at end of file +{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;;;;;;;;AAAA,uCAAwB;A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K,GAAG,KAAK,CAAA;yBACd;6BAAM;4BACL,MAAM,IAAI,GAAG,CAAA;yBACd;wBAED,MAAM,IAAI,GAAG,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,EAAE,CAAA;qBAC1C;iBACF;aACF;SACF;QAED,MAAM,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAA;QACpD,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;SACb,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC;AAED,SAAS,cAAc,CAAC,CAAS;IAC/B,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;SACb,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js index f43d507..b99e1de 100644 --- a/node_modules/@actions/core/lib/core.js +++ b/node_modules/@actions/core/lib/core.js @@ -8,10 +8,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); const command_1 = require("./command"); -const os = require("os"); -const path = require("path"); +const os = __importStar(require("os")); +const path = __importStar(require("path")); /** * The code to exit an action */ diff --git a/node_modules/@actions/core/lib/core.js.map b/node_modules/@actions/core/lib/core.js.map index 6eda8da..33c6268 100644 --- a/node_modules/@actions/core/lib/core.js.map +++ b/node_modules/@actions/core/lib/core.js.map @@ -1 +1 @@ -{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,uCAA6C;AAE7C,yBAAwB;AACxB,6BAA4B;AAU5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAW;IACtD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;IACvB,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC;AAHD,wCAGC;AAED;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;IACvC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AAHD,0BAGC;AAED;;;;;;GAMG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,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;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAa;IACnD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json index 217ac41..d0b416d 100644 --- a/node_modules/@actions/core/package.json +++ b/node_modules/@actions/core/package.json @@ -1,6 +1,6 @@ { "name": "@actions/core", - "version": "1.2.1", + "version": "1.2.2", "description": "Actions core lib", "keywords": [ "github", @@ -38,7 +38,7 @@ "@types/node": "^12.0.2" } -,"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.1.tgz" -,"_integrity": "sha512-xD+CQd9p4lU7ZfRqmUcbJpqR+Ss51rJRVeXMyOLrZQImN9/8Sy/BEUBnHO/UKD3z03R686PVTLfEPmkropGuLw==" -,"_from": "@actions/core@1.2.1" +,"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.2.tgz" +,"_integrity": "sha512-IbCx7oefq+Gi6FWbSs2Fnw8VkEI6Y4gvjrYprY3RV//ksq/KPMlClOerJ4jRosyal6zkUIc8R9fS/cpRMlGClg==" +,"_from": "@actions/core@1.2.2" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 0eb6ad6..e92616b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@actions/core": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.1.tgz", - "integrity": "sha512-xD+CQd9p4lU7ZfRqmUcbJpqR+Ss51rJRVeXMyOLrZQImN9/8Sy/BEUBnHO/UKD3z03R686PVTLfEPmkropGuLw==" + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.2.tgz", + "integrity": "sha512-IbCx7oefq+Gi6FWbSs2Fnw8VkEI6Y4gvjrYprY3RV//ksq/KPMlClOerJ4jRosyal6zkUIc8R9fS/cpRMlGClg==" }, "@babel/code-frame": { "version": "7.8.3", @@ -81,18 +81,18 @@ "dev": true }, "@types/node": { - "version": "13.1.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.8.tgz", - "integrity": "sha512-6XzyyNM9EKQW4HKuzbo/CkOIjn/evtCmsU+MUM1xDfJ+3/rNjBttM1NgN7AOQvN6tP1Sl1D1PIKMreTArnxM9A==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.5.0.tgz", + "integrity": "sha512-Onhn+z72D2O2Pb2ql2xukJ55rglumsVo1H6Fmyi8mlU9SvKdBk/pUSUAiBY/d9bAOF7VVWajX3sths/+g6ZiAQ==", "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.16.0.tgz", - "integrity": "sha512-TKWbeFAKRPrvKiR9GNxErQ8sELKqg1ZvXi6uho07mcKShBnCnqNpDQWP01FEvWKf0bxM2g7uQEI5MNjSNqvUpQ==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.17.0.tgz", + "integrity": "sha512-tg/OMOtPeXlvk0ES8mZzEZ4gd1ruSE03nsKcK+teJhxYv5CPCXK6Mb/OK6NpB4+CqGTHs4MVeoSZXNFqpT1PyQ==", "dev": true, "requires": { - "@typescript-eslint/experimental-utils": "2.16.0", + "@typescript-eslint/experimental-utils": "2.17.0", "eslint-utils": "^1.4.3", "functional-red-black-tree": "^1.0.1", "regexpp": "^3.0.0", @@ -100,32 +100,32 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.16.0.tgz", - "integrity": "sha512-bXTmAztXpqxliDKZgvWkl+5dHeRN+jqXVZ16peKKFzSXVzT6mz8kgBpHiVzEKO2NZ8OCU7dG61K9sRS/SkUUFQ==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.17.0.tgz", + "integrity": "sha512-2bNf+mZ/3mj5/3CP56v+ldRK3vFy9jOvmCPs/Gr2DeSJh+asPZrhFniv4QmQsHWQFPJFWhFHgkGgJeRmK4m8iQ==", "dev": true, "requires": { "@types/json-schema": "^7.0.3", - "@typescript-eslint/typescript-estree": "2.16.0", + "@typescript-eslint/typescript-estree": "2.17.0", "eslint-scope": "^5.0.0" } }, "@typescript-eslint/parser": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.16.0.tgz", - "integrity": "sha512-+w8dMaYETM9v6il1yYYkApMSiwgnqXWJbXrA94LAWN603vXHACsZTirJduyeBOJjA9wT6xuXe5zZ1iCUzoxCfw==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.17.0.tgz", + "integrity": "sha512-k1g3gRQ4fwfJoIfgUpz78AovicSWKFANmvTfkAHP24MgJHjWfZI6ya7tsQZt1sLczvP4G9BE5G5MgADHdmJB/w==", "dev": true, "requires": { "@types/eslint-visitor-keys": "^1.0.0", - "@typescript-eslint/experimental-utils": "2.16.0", - "@typescript-eslint/typescript-estree": "2.16.0", + "@typescript-eslint/experimental-utils": "2.17.0", + "@typescript-eslint/typescript-estree": "2.17.0", "eslint-visitor-keys": "^1.1.0" } }, "@typescript-eslint/typescript-estree": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.16.0.tgz", - "integrity": "sha512-hyrCYjFHISos68Bk5KjUAXw0pP/455qq9nxqB1KkT67Pxjcfw+r6Yhcmqnp8etFL45UexCHUMrADHH7dI/m2WQ==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.17.0.tgz", + "integrity": "sha512-g0eVRULGnEEUakxRfJO0s0Hr1LLQqsI6OrkiCLpdHtdJJek+wyd8mb00vedqAoWldeDcOcP8plqw8/jx9Gr3Lw==", "dev": true, "requires": { "debug": "^4.1.1", @@ -831,9 +831,9 @@ } }, "es-abstract": { - "version": "1.17.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.2.tgz", - "integrity": "sha512-YoKuru3Lyoy7yVTBSH2j7UxTqe/je3dWAruC0sHvZX1GNd5zX8SSLvQqEgO9b3Ex8IW+goFI9arEEsFIbulhOw==", + "version": "1.17.4", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz", + "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==", "dev": true, "requires": { "es-to-primitive": "^1.2.1", @@ -1237,9 +1237,9 @@ "dev": true }, "fs-minipass": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.0.0.tgz", - "integrity": "sha512-40Qz+LFXmd9tzYVnnBmZvFfvAADfUA14TXPK1s7IfElJTIZ97rA8w4Kin7Wt5JBrC3ShnnFJO/5vPjPEeJIq9A==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", "dev": true, "requires": { "minipass": "^3.0.0" @@ -3194,13 +3194,12 @@ "dev": true }, "registry-auth-token": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.1.0.tgz", - "integrity": "sha512-7uxS951DeOBOwsv8deX+l7HcjY2VZxaOgHtM6RKzg3HhpE+bJ0O7VbuMJLosC1T5WSFpHm0DuFIbqUl43jHpsA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.1.1.tgz", + "integrity": "sha512-9bKS7nTl9+/A1s7tnPeGrUpRcVY+LUh7bfFgzpndALdPfXQBfQV77rQVtqgUV3ti4vc/Ik81Ex8UJDWDQ12zQA==", "dev": true, "requires": { - "rc": "^1.2.8", - "safe-buffer": "^5.0.1" + "rc": "^1.2.8" } }, "registry-url": { @@ -3241,9 +3240,9 @@ } }, "resolve": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz", - "integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.0.tgz", + "integrity": "sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw==", "dev": true, "requires": { "path-parse": "^1.0.6" diff --git a/package.json b/package.json index ab008c0..980246c 100644 --- a/package.json +++ b/package.json @@ -31,12 +31,12 @@ "author": "shimataro", "license": "MIT", "dependencies": { - "@actions/core": "1.2.1" + "@actions/core": "1.2.2" }, "devDependencies": { - "@types/node": "13.1.8", - "@typescript-eslint/eslint-plugin": "2.16.0", - "@typescript-eslint/parser": "2.16.0", + "@types/node": "13.5.0", + "@typescript-eslint/eslint-plugin": "2.17.0", + "@typescript-eslint/parser": "2.17.0", "eslint": "6.8.0", "eslint-plugin-import": "2.20.0", "markdownlint-cli": "0.21.0", From 39071b500ce967fb77d6b549827adacbdc0af8ae Mon Sep 17 00:00:00 2001 From: shimataro Date: Sat, 25 Jan 2020 09:37:22 +0900 Subject: [PATCH 07/15] * add verify step on update-dependencies (#91) --- scripts/update-dependencies.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/update-dependencies.sh b/scripts/update-dependencies.sh index 7ae8bb8..afdd77e 100755 --- a/scripts/update-dependencies.sh +++ b/scripts/update-dependencies.sh @@ -20,8 +20,9 @@ npm run check-updates -- -u rm -rf package-lock.json node_modules npm i -# build check +# check npm run build +npm run verify # commit npm ci --only=production From 1821d0bccb0d18639bbfbdf80fbbdf53f9ca2a21 Mon Sep 17 00:00:00 2001 From: shimataro Date: Sat, 25 Jan 2020 10:09:55 +0900 Subject: [PATCH 08/15] Feature/document (#92) * * update document * * update CHANGELOG * rerun CI --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b21aea7..226ca43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Others + +* some updates + ## [1.6.1] - 2020-01-19 ### Fixed diff --git a/README.md b/README.md index ff00f0f..01623f7 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Useful for SCP, SFTP, and `rsync` over SSH in deployment script. Add your SSH key to your product secrets by clicking `Settings` - `Secrets` - `Add a new secret` beforehand. -**NOTE:** Due to version of OpenSSH on VM, OPENSSH format (key begins with `-----BEGIN OPENSSH PRIVATE KEY-----`) may not work. Please use PEM format (begins with `-----BEGIN RSA PRIVATE KEY-----`) instead. +**NOTE:** OPENSSH format (key begins with `-----BEGIN OPENSSH PRIVATE KEY-----`) may not work due to OpenSSH version on VM. Please use PEM format (begins with `-----BEGIN RSA PRIVATE KEY-----`) instead. ```yaml runs-on: ubuntu-latest @@ -42,7 +42,7 @@ See [Workflow syntax for GitHub Actions](https://help.github.com/en/articles/wor If you want to install multiple keys, call this action multiple times. It is useful for port forwarding. -**NOTE:** When this action is called multiple times, **the contents of `known-hosts` and `config` will be appended**. But `private-key` must be saved as different name, by using `name` option. +**NOTE:** When this action is called multiple times, **the contents of `known-hosts` and `config` will be appended**. `private-key` must be saved as different name, by using `name` option. ```yaml runs-on: ubuntu-latest From a4c60cd0308fa12578c4ef03d8a677c282bf0059 Mon Sep 17 00:00:00 2001 From: shimataro Date: Sat, 25 Jan 2020 23:50:19 +0900 Subject: [PATCH 09/15] version 1.6.2 (#93) --- CHANGELOG.md | 5 ++++- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 226ca43..6455222 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [1.6.2] - 2020-01-25 + ### Others * some updates @@ -63,7 +65,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. * First release. -[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v1.6.1...HEAD +[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v1.6.2...HEAD +[1.6.2]: https://github.com/shimataro/ssh-key-action/compare/v1.6.1...v1.6.2 [1.6.1]: https://github.com/shimataro/ssh-key-action/compare/v1.6.0...v1.6.1 [1.6.0]: https://github.com/shimataro/ssh-key-action/compare/v1.5.0...v1.6.0 [1.5.0]: https://github.com/shimataro/ssh-key-action/compare/v1.4.0...v1.5.0 diff --git a/package-lock.json b/package-lock.json index e92616b..8356a54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "install-ssh-key", - "version": "1.6.1", + "version": "1.6.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1542,9 +1542,9 @@ "dev": true }, "inquirer": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.3.tgz", - "integrity": "sha512-+OiOVeVydu4hnCGLCSX+wedovR/Yzskv9BFqUNNKq9uU2qg7LCcCo3R86S2E7WLo0y/x2pnEZfZe1CoYnORUAw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.4.tgz", + "integrity": "sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ==", "dev": true, "requires": { "ansi-escapes": "^4.2.1", diff --git a/package.json b/package.json index 980246c..3c1bb95 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "install-ssh-key", - "version": "1.6.1", + "version": "1.6.2", "private": true, "description": "Install SSH key in .ssh", "main": "lib/main.js", From a7b3fb671386ba6497b063a550c83596a8396ac7 Mon Sep 17 00:00:00 2001 From: shimataro Date: Sun, 26 Jan 2020 00:15:27 +0900 Subject: [PATCH 10/15] Feature/scripts (#95) * * install all dependencies on creating release branch * * remove "&&" --- scripts/create-release-branch.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/create-release-branch.sh b/scripts/create-release-branch.sh index a736165..b1cffcf 100755 --- a/scripts/create-release-branch.sh +++ b/scripts/create-release-branch.sh @@ -119,12 +119,13 @@ function update_package_version() { } function update_dependencies_version() { + npm ci npm run check-updates -- -u } function regenerate_package_lock() { - rm -rf package-lock.json node_modules && - npm install + rm -rf package-lock.json node_modules + npm install } function build_package() { @@ -135,9 +136,9 @@ function build_package() { function commit_changes() { local VERSION=$1 - npm ci --only=production && - git add CHANGELOG.md package.json package-lock.json node_modules lib && - git commit -m "version ${VERSION}" + npm ci --only=production + git add CHANGELOG.md package.json package-lock.json node_modules lib + git commit -m "version ${VERSION}" } function finish() { From afbda3a03b9ea396caefa0b2d47a5383615543d3 Mon Sep 17 00:00:00 2001 From: shimataro Date: Mon, 27 Jan 2020 00:07:39 +0900 Subject: [PATCH 11/15] Feature/faq (#96) * * add FAQ * * update CHANGELOG * * update FAQ * * update FAQ * * update FAQ * * update FAQ * * add question * * update FAQ * * target -> server * * add FAQ * * fix some sendences * * fix sentense * * sending -> transferring * * update FAQ * * fix sendences * * update sentence * * fix sentences * * update sentences * * update sentence * * update sentences * * FAQ -> Q&A --- .markdownlint.yml | 1 + CHANGELOG.md | 4 ++++ README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/.markdownlint.yml b/.markdownlint.yml index 144bda4..2a0adfc 100644 --- a/.markdownlint.yml +++ b/.markdownlint.yml @@ -4,3 +4,4 @@ MD013: line_length: 255 MD024: siblings_only: true +MD026: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 6455222..5a4284d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Others + +* add FAQ + ## [1.6.2] - 2020-01-25 ### Others diff --git a/README.md b/README.md index 01623f7..55fa515 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,49 @@ steps: run: scp ./foo/ target:bar/ ``` +## Q&A + +### SSH failed even though key has been installed. + +Check belows: + +* `Load key "/HOME/.ssh/id_rsa": invalid format`: + * OPENSSH format (key begins with `-----BEGIN OPENSSH PRIVATE KEY-----`) may not work. + * Use PEM format (begins with `-----BEGIN RSA PRIVATE KEY-----`). +* `Host key verification failed.`: + * Set `known-hosts` option or use `ssh -o StrictHostKeyChecking=no`. + * The former is **HIGHLY** recommended for security reason. + * I'm planning to make `known-hosts` required in v2. + +### How do I use encrypted SSH key? + +This action doesn't support encrypted key directly. +Here are some solutions: + +* decrypting key beforehand: best bet, and works on any VM +* `sshpass` command: next best bet, but not supported on Windows +* `expect` command: be careful not to expose passphrase to console +* `SSH_ASKPASS` environment variable: might be troublesome + +### Which one is the best way for transferring files, "direct SCP/SFTP/rsync" or "SCP/SFTP/rsync via bastion"? + +I recommend **rsync via bastion**. +It has some advantages over other methods: + +* "Rsync via bastion" doesn't require to update workflow files and `secrets` even if it is necessary to transfer files to multiple servers. + * Other methods require to update `known-hosts` if servers have changed. +* Rsync: + * is fastest of all. + * does **NOT** break files even if disconnected during transferring. + * can remove files that don't exist on server. +* SCP is [deprecated by OpenSSH](https://www.openssh.com/txt/release-8.0) due to outdated and inflexible protocol. +* Using bastion is more secure because: + * it is not necessarily to expose SSH port on servers to public. + * Address filtering is less effective. + * Because Azure address range is [very wide](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners#ip-addresses-of-github-hosted-runners). + * And will be updated continuously. + * if security incident ―e.g., private key leaked― occurs, it's OK just to remove `authorized_keys` on bastion. + ## License The scripts and documentation in this project are released under the [MIT License](LICENSE) From 9e83f1acf9659e7fdfe76474c2e90367005e7e0a Mon Sep 17 00:00:00 2001 From: shimataro Date: Mon, 27 Jan 2020 00:19:42 +0900 Subject: [PATCH 12/15] version 1.6.3 (#97) --- CHANGELOG.md | 5 ++++- node_modules/.bin/acorn | 1 + node_modules/.bin/eslint | 1 + node_modules/.bin/esparse | 1 + node_modules/.bin/esvalidate | 1 + node_modules/.bin/installed-package-contents | 1 + node_modules/.bin/is-ci | 1 + node_modules/.bin/js-yaml | 1 + node_modules/.bin/json5 | 1 + node_modules/.bin/markdown-it | 1 + node_modules/.bin/markdownlint | 1 + node_modules/.bin/mkdirp | 1 + node_modules/.bin/ncu | 1 + node_modules/.bin/npm-check-updates | 1 + node_modules/.bin/npm-packlist | 1 + node_modules/.bin/npm-run-all | 1 + node_modules/.bin/pacote | 1 + node_modules/.bin/pidtree | 1 + node_modules/.bin/rc | 1 + node_modules/.bin/rimraf | 1 + node_modules/.bin/run-p | 1 + node_modules/.bin/run-s | 1 + node_modules/.bin/semver | 1 + node_modules/.bin/tsc | 1 + node_modules/.bin/tsserver | 1 + node_modules/.bin/which | 1 + node_modules/.bin/window-size | 1 + node_modules/.bin/yamllint | 1 + package-lock.json | 2 +- package.json | 2 +- 30 files changed, 33 insertions(+), 3 deletions(-) create mode 120000 node_modules/.bin/acorn create mode 120000 node_modules/.bin/eslint create mode 120000 node_modules/.bin/esparse create mode 120000 node_modules/.bin/esvalidate create mode 120000 node_modules/.bin/installed-package-contents create mode 120000 node_modules/.bin/is-ci create mode 120000 node_modules/.bin/js-yaml create mode 120000 node_modules/.bin/json5 create mode 120000 node_modules/.bin/markdown-it create mode 120000 node_modules/.bin/markdownlint create mode 120000 node_modules/.bin/mkdirp create mode 120000 node_modules/.bin/ncu create mode 120000 node_modules/.bin/npm-check-updates create mode 120000 node_modules/.bin/npm-packlist create mode 120000 node_modules/.bin/npm-run-all create mode 120000 node_modules/.bin/pacote create mode 120000 node_modules/.bin/pidtree create mode 120000 node_modules/.bin/rc create mode 120000 node_modules/.bin/rimraf create mode 120000 node_modules/.bin/run-p create mode 120000 node_modules/.bin/run-s create mode 120000 node_modules/.bin/semver create mode 120000 node_modules/.bin/tsc create mode 120000 node_modules/.bin/tsserver create mode 120000 node_modules/.bin/which create mode 120000 node_modules/.bin/window-size create mode 120000 node_modules/.bin/yamllint diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a4284d..bc4e40c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [1.6.3] - 2020-01-27 + ### Others * add FAQ @@ -69,7 +71,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. * First release. -[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v1.6.2...HEAD +[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v1.6.3...HEAD +[1.6.3]: https://github.com/shimataro/ssh-key-action/compare/v1.6.2...v1.6.3 [1.6.2]: https://github.com/shimataro/ssh-key-action/compare/v1.6.1...v1.6.2 [1.6.1]: https://github.com/shimataro/ssh-key-action/compare/v1.6.0...v1.6.1 [1.6.0]: https://github.com/shimataro/ssh-key-action/compare/v1.5.0...v1.6.0 diff --git a/node_modules/.bin/acorn b/node_modules/.bin/acorn new file mode 120000 index 0000000..cf76760 --- /dev/null +++ b/node_modules/.bin/acorn @@ -0,0 +1 @@ +../acorn/bin/acorn \ No newline at end of file diff --git a/node_modules/.bin/eslint b/node_modules/.bin/eslint new file mode 120000 index 0000000..810e4bc --- /dev/null +++ b/node_modules/.bin/eslint @@ -0,0 +1 @@ +../eslint/bin/eslint.js \ No newline at end of file diff --git a/node_modules/.bin/esparse b/node_modules/.bin/esparse new file mode 120000 index 0000000..7423b18 --- /dev/null +++ b/node_modules/.bin/esparse @@ -0,0 +1 @@ +../esprima/bin/esparse.js \ No newline at end of file diff --git a/node_modules/.bin/esvalidate b/node_modules/.bin/esvalidate new file mode 120000 index 0000000..16069ef --- /dev/null +++ b/node_modules/.bin/esvalidate @@ -0,0 +1 @@ +../esprima/bin/esvalidate.js \ No newline at end of file diff --git a/node_modules/.bin/installed-package-contents b/node_modules/.bin/installed-package-contents new file mode 120000 index 0000000..4b296e7 --- /dev/null +++ b/node_modules/.bin/installed-package-contents @@ -0,0 +1 @@ +../@npmcli/installed-package-contents/index.js \ No newline at end of file diff --git a/node_modules/.bin/is-ci b/node_modules/.bin/is-ci new file mode 120000 index 0000000..fe6aca6 --- /dev/null +++ b/node_modules/.bin/is-ci @@ -0,0 +1 @@ +../is-ci/bin.js \ No newline at end of file diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml new file mode 120000 index 0000000..9dbd010 --- /dev/null +++ b/node_modules/.bin/js-yaml @@ -0,0 +1 @@ +../js-yaml/bin/js-yaml.js \ No newline at end of file diff --git a/node_modules/.bin/json5 b/node_modules/.bin/json5 new file mode 120000 index 0000000..217f379 --- /dev/null +++ b/node_modules/.bin/json5 @@ -0,0 +1 @@ +../json5/lib/cli.js \ No newline at end of file diff --git a/node_modules/.bin/markdown-it b/node_modules/.bin/markdown-it new file mode 120000 index 0000000..894bcdb --- /dev/null +++ b/node_modules/.bin/markdown-it @@ -0,0 +1 @@ +../markdown-it/bin/markdown-it.js \ No newline at end of file diff --git a/node_modules/.bin/markdownlint b/node_modules/.bin/markdownlint new file mode 120000 index 0000000..f2b1093 --- /dev/null +++ b/node_modules/.bin/markdownlint @@ -0,0 +1 @@ +../markdownlint-cli/markdownlint.js \ No newline at end of file diff --git a/node_modules/.bin/mkdirp b/node_modules/.bin/mkdirp new file mode 120000 index 0000000..017896c --- /dev/null +++ b/node_modules/.bin/mkdirp @@ -0,0 +1 @@ +../mkdirp/bin/cmd.js \ No newline at end of file diff --git a/node_modules/.bin/ncu b/node_modules/.bin/ncu new file mode 120000 index 0000000..2bf26b2 --- /dev/null +++ b/node_modules/.bin/ncu @@ -0,0 +1 @@ +../npm-check-updates/bin/ncu \ No newline at end of file diff --git a/node_modules/.bin/npm-check-updates b/node_modules/.bin/npm-check-updates new file mode 120000 index 0000000..c180ad7 --- /dev/null +++ b/node_modules/.bin/npm-check-updates @@ -0,0 +1 @@ +../npm-check-updates/bin/npm-check-updates \ No newline at end of file diff --git a/node_modules/.bin/npm-packlist b/node_modules/.bin/npm-packlist new file mode 120000 index 0000000..b897e4a --- /dev/null +++ b/node_modules/.bin/npm-packlist @@ -0,0 +1 @@ +../npm-packlist/bin/index.js \ No newline at end of file diff --git a/node_modules/.bin/npm-run-all b/node_modules/.bin/npm-run-all new file mode 120000 index 0000000..0424f3c --- /dev/null +++ b/node_modules/.bin/npm-run-all @@ -0,0 +1 @@ +../npm-run-all/bin/npm-run-all/index.js \ No newline at end of file diff --git a/node_modules/.bin/pacote b/node_modules/.bin/pacote new file mode 120000 index 0000000..e595831 --- /dev/null +++ b/node_modules/.bin/pacote @@ -0,0 +1 @@ +../pacote/lib/bin.js \ No newline at end of file diff --git a/node_modules/.bin/pidtree b/node_modules/.bin/pidtree new file mode 120000 index 0000000..42c3f06 --- /dev/null +++ b/node_modules/.bin/pidtree @@ -0,0 +1 @@ +../pidtree/bin/pidtree.js \ No newline at end of file diff --git a/node_modules/.bin/rc b/node_modules/.bin/rc new file mode 120000 index 0000000..48b3cda --- /dev/null +++ b/node_modules/.bin/rc @@ -0,0 +1 @@ +../rc/cli.js \ No newline at end of file diff --git a/node_modules/.bin/rimraf b/node_modules/.bin/rimraf new file mode 120000 index 0000000..4cd49a4 --- /dev/null +++ b/node_modules/.bin/rimraf @@ -0,0 +1 @@ +../rimraf/bin.js \ No newline at end of file diff --git a/node_modules/.bin/run-p b/node_modules/.bin/run-p new file mode 120000 index 0000000..98a2c9c --- /dev/null +++ b/node_modules/.bin/run-p @@ -0,0 +1 @@ +../npm-run-all/bin/run-p/index.js \ No newline at end of file diff --git a/node_modules/.bin/run-s b/node_modules/.bin/run-s new file mode 120000 index 0000000..5938622 --- /dev/null +++ b/node_modules/.bin/run-s @@ -0,0 +1 @@ +../npm-run-all/bin/run-s/index.js \ No newline at end of file diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver new file mode 120000 index 0000000..5aaadf4 --- /dev/null +++ b/node_modules/.bin/semver @@ -0,0 +1 @@ +../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/.bin/tsc b/node_modules/.bin/tsc new file mode 120000 index 0000000..0863208 --- /dev/null +++ b/node_modules/.bin/tsc @@ -0,0 +1 @@ +../typescript/bin/tsc \ No newline at end of file diff --git a/node_modules/.bin/tsserver b/node_modules/.bin/tsserver new file mode 120000 index 0000000..f8f8f1a --- /dev/null +++ b/node_modules/.bin/tsserver @@ -0,0 +1 @@ +../typescript/bin/tsserver \ No newline at end of file diff --git a/node_modules/.bin/which b/node_modules/.bin/which new file mode 120000 index 0000000..f62471c --- /dev/null +++ b/node_modules/.bin/which @@ -0,0 +1 @@ +../which/bin/which \ No newline at end of file diff --git a/node_modules/.bin/window-size b/node_modules/.bin/window-size new file mode 120000 index 0000000..e84c8ec --- /dev/null +++ b/node_modules/.bin/window-size @@ -0,0 +1 @@ +../window-size/cli.js \ No newline at end of file diff --git a/node_modules/.bin/yamllint b/node_modules/.bin/yamllint new file mode 120000 index 0000000..9cc8ed0 --- /dev/null +++ b/node_modules/.bin/yamllint @@ -0,0 +1 @@ +../yaml-lint/cli.js \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 8356a54..49b64c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "install-ssh-key", - "version": "1.6.2", + "version": "1.6.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3c1bb95..8f20ff9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "install-ssh-key", - "version": "1.6.2", + "version": "1.6.3", "private": true, "description": "Install SSH key in .ssh", "main": "lib/main.js", From f55d9bd4d29a4337fe90c087a3cf048455f2c85c Mon Sep 17 00:00:00 2001 From: shimataro Date: Mon, 27 Jan 2020 06:03:22 +0900 Subject: [PATCH 13/15] Bugfix/node modules (#100) * * clean node_modules before "npm ci --only=production" in order not to add ".bin" directory * * update CHANGELOG --- CHANGELOG.md | 6 +++++- scripts/create-release-branch.sh | 1 + scripts/rebuild.sh | 1 + scripts/update-dependencies.sh | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc4e40c..d1bcb80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed + +* `node_modules/.bin` error (thanks [@george3447](https://github.com/george3447)) + ## [1.6.3] - 2020-01-27 ### Others -* add FAQ +* add Q&A ## [1.6.2] - 2020-01-25 diff --git a/scripts/create-release-branch.sh b/scripts/create-release-branch.sh index b1cffcf..b661d25 100755 --- a/scripts/create-release-branch.sh +++ b/scripts/create-release-branch.sh @@ -119,6 +119,7 @@ function update_package_version() { } function update_dependencies_version() { + rm -rf node_modules npm ci npm run check-updates -- -u } diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh index 8301938..b2c853a 100755 --- a/scripts/rebuild.sh +++ b/scripts/rebuild.sh @@ -7,5 +7,6 @@ npm i npm run build npm run verify +rm -rf node_modules npm ci --only=production git add node_modules package-lock.json lib diff --git a/scripts/update-dependencies.sh b/scripts/update-dependencies.sh index afdd77e..1463fdb 100755 --- a/scripts/update-dependencies.sh +++ b/scripts/update-dependencies.sh @@ -25,6 +25,7 @@ npm run build npm run verify # commit +rm -rf node_modules npm ci --only=production git add package.json package-lock.json node_modules git commit -m "update dependencies" From 1c3dfa5189d2873ba369ecde14786bcb6bdbb2c2 Mon Sep 17 00:00:00 2001 From: shimataro Date: Mon, 27 Jan 2020 06:12:28 +0900 Subject: [PATCH 14/15] * fix the timing of "rm -rf node_modules" (#101) --- scripts/create-release-branch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-release-branch.sh b/scripts/create-release-branch.sh index b661d25..65b0f72 100755 --- a/scripts/create-release-branch.sh +++ b/scripts/create-release-branch.sh @@ -119,7 +119,6 @@ function update_package_version() { } function update_dependencies_version() { - rm -rf node_modules npm ci npm run check-updates -- -u } @@ -137,6 +136,7 @@ function build_package() { function commit_changes() { local VERSION=$1 + rm -rf node_modules npm ci --only=production git add CHANGELOG.md package.json package-lock.json node_modules lib git commit -m "version ${VERSION}" From f964ddc76d2c680906441d0a34b016fe0d4588ab Mon Sep 17 00:00:00 2001 From: shimataro Date: Mon, 27 Jan 2020 06:16:12 +0900 Subject: [PATCH 15/15] version 1.6.4 (#102) --- CHANGELOG.md | 5 ++++- node_modules/.bin/acorn | 1 - node_modules/.bin/eslint | 1 - node_modules/.bin/esparse | 1 - node_modules/.bin/esvalidate | 1 - node_modules/.bin/installed-package-contents | 1 - node_modules/.bin/is-ci | 1 - node_modules/.bin/js-yaml | 1 - node_modules/.bin/json5 | 1 - node_modules/.bin/markdown-it | 1 - node_modules/.bin/markdownlint | 1 - node_modules/.bin/mkdirp | 1 - node_modules/.bin/ncu | 1 - node_modules/.bin/npm-check-updates | 1 - node_modules/.bin/npm-packlist | 1 - node_modules/.bin/npm-run-all | 1 - node_modules/.bin/pacote | 1 - node_modules/.bin/pidtree | 1 - node_modules/.bin/rc | 1 - node_modules/.bin/rimraf | 1 - node_modules/.bin/run-p | 1 - node_modules/.bin/run-s | 1 - node_modules/.bin/semver | 1 - node_modules/.bin/tsc | 1 - node_modules/.bin/tsserver | 1 - node_modules/.bin/which | 1 - node_modules/.bin/window-size | 1 - node_modules/.bin/yamllint | 1 - package-lock.json | 2 +- package.json | 2 +- 30 files changed, 6 insertions(+), 30 deletions(-) delete mode 120000 node_modules/.bin/acorn delete mode 120000 node_modules/.bin/eslint delete mode 120000 node_modules/.bin/esparse delete mode 120000 node_modules/.bin/esvalidate delete mode 120000 node_modules/.bin/installed-package-contents delete mode 120000 node_modules/.bin/is-ci delete mode 120000 node_modules/.bin/js-yaml delete mode 120000 node_modules/.bin/json5 delete mode 120000 node_modules/.bin/markdown-it delete mode 120000 node_modules/.bin/markdownlint delete mode 120000 node_modules/.bin/mkdirp delete mode 120000 node_modules/.bin/ncu delete mode 120000 node_modules/.bin/npm-check-updates delete mode 120000 node_modules/.bin/npm-packlist delete mode 120000 node_modules/.bin/npm-run-all delete mode 120000 node_modules/.bin/pacote delete mode 120000 node_modules/.bin/pidtree delete mode 120000 node_modules/.bin/rc delete mode 120000 node_modules/.bin/rimraf delete mode 120000 node_modules/.bin/run-p delete mode 120000 node_modules/.bin/run-s delete mode 120000 node_modules/.bin/semver delete mode 120000 node_modules/.bin/tsc delete mode 120000 node_modules/.bin/tsserver delete mode 120000 node_modules/.bin/which delete mode 120000 node_modules/.bin/window-size delete mode 120000 node_modules/.bin/yamllint diff --git a/CHANGELOG.md b/CHANGELOG.md index d1bcb80..1525d69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [1.6.4] - 2020-01-27 + ### Fixed * `node_modules/.bin` error (thanks [@george3447](https://github.com/george3447)) @@ -75,7 +77,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. * First release. -[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v1.6.3...HEAD +[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v1.6.4...HEAD +[1.6.4]: https://github.com/shimataro/ssh-key-action/compare/v1.6.3...v1.6.4 [1.6.3]: https://github.com/shimataro/ssh-key-action/compare/v1.6.2...v1.6.3 [1.6.2]: https://github.com/shimataro/ssh-key-action/compare/v1.6.1...v1.6.2 [1.6.1]: https://github.com/shimataro/ssh-key-action/compare/v1.6.0...v1.6.1 diff --git a/node_modules/.bin/acorn b/node_modules/.bin/acorn deleted file mode 120000 index cf76760..0000000 --- a/node_modules/.bin/acorn +++ /dev/null @@ -1 +0,0 @@ -../acorn/bin/acorn \ No newline at end of file diff --git a/node_modules/.bin/eslint b/node_modules/.bin/eslint deleted file mode 120000 index 810e4bc..0000000 --- a/node_modules/.bin/eslint +++ /dev/null @@ -1 +0,0 @@ -../eslint/bin/eslint.js \ No newline at end of file diff --git a/node_modules/.bin/esparse b/node_modules/.bin/esparse deleted file mode 120000 index 7423b18..0000000 --- a/node_modules/.bin/esparse +++ /dev/null @@ -1 +0,0 @@ -../esprima/bin/esparse.js \ No newline at end of file diff --git a/node_modules/.bin/esvalidate b/node_modules/.bin/esvalidate deleted file mode 120000 index 16069ef..0000000 --- a/node_modules/.bin/esvalidate +++ /dev/null @@ -1 +0,0 @@ -../esprima/bin/esvalidate.js \ No newline at end of file diff --git a/node_modules/.bin/installed-package-contents b/node_modules/.bin/installed-package-contents deleted file mode 120000 index 4b296e7..0000000 --- a/node_modules/.bin/installed-package-contents +++ /dev/null @@ -1 +0,0 @@ -../@npmcli/installed-package-contents/index.js \ No newline at end of file diff --git a/node_modules/.bin/is-ci b/node_modules/.bin/is-ci deleted file mode 120000 index fe6aca6..0000000 --- a/node_modules/.bin/is-ci +++ /dev/null @@ -1 +0,0 @@ -../is-ci/bin.js \ No newline at end of file diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml deleted file mode 120000 index 9dbd010..0000000 --- a/node_modules/.bin/js-yaml +++ /dev/null @@ -1 +0,0 @@ -../js-yaml/bin/js-yaml.js \ No newline at end of file diff --git a/node_modules/.bin/json5 b/node_modules/.bin/json5 deleted file mode 120000 index 217f379..0000000 --- a/node_modules/.bin/json5 +++ /dev/null @@ -1 +0,0 @@ -../json5/lib/cli.js \ No newline at end of file diff --git a/node_modules/.bin/markdown-it b/node_modules/.bin/markdown-it deleted file mode 120000 index 894bcdb..0000000 --- a/node_modules/.bin/markdown-it +++ /dev/null @@ -1 +0,0 @@ -../markdown-it/bin/markdown-it.js \ No newline at end of file diff --git a/node_modules/.bin/markdownlint b/node_modules/.bin/markdownlint deleted file mode 120000 index f2b1093..0000000 --- a/node_modules/.bin/markdownlint +++ /dev/null @@ -1 +0,0 @@ -../markdownlint-cli/markdownlint.js \ No newline at end of file diff --git a/node_modules/.bin/mkdirp b/node_modules/.bin/mkdirp deleted file mode 120000 index 017896c..0000000 --- a/node_modules/.bin/mkdirp +++ /dev/null @@ -1 +0,0 @@ -../mkdirp/bin/cmd.js \ No newline at end of file diff --git a/node_modules/.bin/ncu b/node_modules/.bin/ncu deleted file mode 120000 index 2bf26b2..0000000 --- a/node_modules/.bin/ncu +++ /dev/null @@ -1 +0,0 @@ -../npm-check-updates/bin/ncu \ No newline at end of file diff --git a/node_modules/.bin/npm-check-updates b/node_modules/.bin/npm-check-updates deleted file mode 120000 index c180ad7..0000000 --- a/node_modules/.bin/npm-check-updates +++ /dev/null @@ -1 +0,0 @@ -../npm-check-updates/bin/npm-check-updates \ No newline at end of file diff --git a/node_modules/.bin/npm-packlist b/node_modules/.bin/npm-packlist deleted file mode 120000 index b897e4a..0000000 --- a/node_modules/.bin/npm-packlist +++ /dev/null @@ -1 +0,0 @@ -../npm-packlist/bin/index.js \ No newline at end of file diff --git a/node_modules/.bin/npm-run-all b/node_modules/.bin/npm-run-all deleted file mode 120000 index 0424f3c..0000000 --- a/node_modules/.bin/npm-run-all +++ /dev/null @@ -1 +0,0 @@ -../npm-run-all/bin/npm-run-all/index.js \ No newline at end of file diff --git a/node_modules/.bin/pacote b/node_modules/.bin/pacote deleted file mode 120000 index e595831..0000000 --- a/node_modules/.bin/pacote +++ /dev/null @@ -1 +0,0 @@ -../pacote/lib/bin.js \ No newline at end of file diff --git a/node_modules/.bin/pidtree b/node_modules/.bin/pidtree deleted file mode 120000 index 42c3f06..0000000 --- a/node_modules/.bin/pidtree +++ /dev/null @@ -1 +0,0 @@ -../pidtree/bin/pidtree.js \ No newline at end of file diff --git a/node_modules/.bin/rc b/node_modules/.bin/rc deleted file mode 120000 index 48b3cda..0000000 --- a/node_modules/.bin/rc +++ /dev/null @@ -1 +0,0 @@ -../rc/cli.js \ No newline at end of file diff --git a/node_modules/.bin/rimraf b/node_modules/.bin/rimraf deleted file mode 120000 index 4cd49a4..0000000 --- a/node_modules/.bin/rimraf +++ /dev/null @@ -1 +0,0 @@ -../rimraf/bin.js \ No newline at end of file diff --git a/node_modules/.bin/run-p b/node_modules/.bin/run-p deleted file mode 120000 index 98a2c9c..0000000 --- a/node_modules/.bin/run-p +++ /dev/null @@ -1 +0,0 @@ -../npm-run-all/bin/run-p/index.js \ No newline at end of file diff --git a/node_modules/.bin/run-s b/node_modules/.bin/run-s deleted file mode 120000 index 5938622..0000000 --- a/node_modules/.bin/run-s +++ /dev/null @@ -1 +0,0 @@ -../npm-run-all/bin/run-s/index.js \ No newline at end of file diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver deleted file mode 120000 index 5aaadf4..0000000 --- a/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/.bin/tsc b/node_modules/.bin/tsc deleted file mode 120000 index 0863208..0000000 --- a/node_modules/.bin/tsc +++ /dev/null @@ -1 +0,0 @@ -../typescript/bin/tsc \ No newline at end of file diff --git a/node_modules/.bin/tsserver b/node_modules/.bin/tsserver deleted file mode 120000 index f8f8f1a..0000000 --- a/node_modules/.bin/tsserver +++ /dev/null @@ -1 +0,0 @@ -../typescript/bin/tsserver \ No newline at end of file diff --git a/node_modules/.bin/which b/node_modules/.bin/which deleted file mode 120000 index f62471c..0000000 --- a/node_modules/.bin/which +++ /dev/null @@ -1 +0,0 @@ -../which/bin/which \ No newline at end of file diff --git a/node_modules/.bin/window-size b/node_modules/.bin/window-size deleted file mode 120000 index e84c8ec..0000000 --- a/node_modules/.bin/window-size +++ /dev/null @@ -1 +0,0 @@ -../window-size/cli.js \ No newline at end of file diff --git a/node_modules/.bin/yamllint b/node_modules/.bin/yamllint deleted file mode 120000 index 9cc8ed0..0000000 --- a/node_modules/.bin/yamllint +++ /dev/null @@ -1 +0,0 @@ -../yaml-lint/cli.js \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 49b64c9..5a06dc2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "install-ssh-key", - "version": "1.6.3", + "version": "1.6.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8f20ff9..4c46693 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "install-ssh-key", - "version": "1.6.3", + "version": "1.6.4", "private": true, "description": "Install SSH key in .ssh", "main": "lib/main.js",