1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00
Commit graph

181 commits

Author SHA1 Message Date
shimataro
38b53cb2f4
version 2.6.1 (#264) 2023-10-13 10:02:31 +09:00
shimataro
9e1a5e7913
use cache for npm (#263) 2023-10-13 09:39:50 +09:00
shimataro
c858f8173b
update dependencies (#262) 2023-10-13 09:06:52 +09:00
shimataro
f848d33143
fix; release script error (#261) 2023-10-12 10:27:38 +09:00
shimataro
b49a036be4
fix; JSON parse error on exit, if if_key_exists=fail and key exists (#260)
* fix; JSON parse error on exit, if `if_key_exists`=`fail` and key exists

* update CHANGELOG

* fix cleanup error

* add built files

* output only if created/removed/restored file exist.
2023-10-12 09:58:46 +09:00
shimataro
18e8292da0
update release script (#259) 2023-10-12 05:00:12 +09:00
shimataro
d05e1bdf7d
Merge pull request #258 from shimataro/develop
version 2.6.0
2023-10-12 04:11:09 +09:00
shimataro
a9c5970ee8
version 2.6.0 (#257) 2023-10-11 22:58:33 +09:00
shimataro
ccfb951a8e
fix; files that didn't backed up is not removed in "post" phase (#256)
* fix; files that didn't backed up is not removed in "post" phase

* output logs

* output log in main phase

* update log text

* update log text

* create directory only if not exist

* amend step name
2023-10-11 16:20:54 +09:00
shimataro
ab731d2fcd
update dependencies (#255) 2023-10-11 07:44:42 +09:00
shimataro
51874aa964
exit if differ (#254) 2023-10-11 05:25:38 +09:00
shimataro
00676f1f60
use os.homedir() in order to get home directory (#253) 2023-10-11 05:04:21 +09:00
shimataro
6948892be9
use module files (#252)
* use module

* detect files to be restore automatically

* use esbuild

* drop ncc

* add comments

* refactor
2023-10-11 04:35:20 +09:00
shimataro
31d4b8b483
backup & restore (#251)
* backup & restore

* refactor

* refactor

* back up key file

* fix messages

* update CHANGELOG

* update CHANGELOG
2023-10-10 13:51:45 +09:00
shimataro
2983fc456f
Feature/remove old runner (#249)
* Drop runnner: macOS 10.15, Ubuntu 18.04

* update README

* update CHANGELOG

* update key of bitbucket.com
2023-10-09 18:25:53 +09:00
shimataro
f5671c022c
update dependencies (#241) 2023-03-25 05:53:47 +09:00
shimataro
685d0f20da
Merge pull request #240 from shimataro/develop
version 2.5.1
2023-03-25 05:13:30 +09:00
shimataro
699cc3af2a
version 2.5.1 (#239) 2023-03-25 04:53:10 +09:00
shimataro
18601dcd44
Feature/update gh key (#238)
* github: Update SSH key

Signed-off-by: Ryan Northey <ryan@synca.io>

* update GitHub key: https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/

* add name

---------

Signed-off-by: Ryan Northey <ryan@synca.io>
Co-authored-by: Ryan Northey <ryan@synca.io>
2023-03-25 04:27:28 +09:00
shimataro
02d189fc92
Merge pull request #230 from shimataro/develop
version 2.5.0
2022-12-24 21:59:35 +09:00
shimataro
70366947e2
version 2.5.0 (#229) 2022-12-24 21:37:26 +09:00
shimataro
00376433fd
update dependencies (#228) 2022-12-24 20:55:12 +09:00
shimataro
d3bad3234b
update dependencies (#227) 2022-12-21 17:36:57 +09:00
shimataro
c8a575584e
set workflow name (#226)
* set workflow name

* update actions/checkout version: v2 -> v3

* update actions/setup-node version: v1 -> v3
2022-12-21 11:14:30 +09:00
shimataro
da84e6bf98
Feature/ci (#225)
* reuse workflows
https://docs.github.com/en/actions/using-workflows/reusing-workflows

* reuse container workflows

* integrate reusable-verify-container with reusable-verify

* container -> docker_iamge

* update description
2022-12-20 22:11:39 +09:00
shimataro
7cccbd3065
add cleanup process (#224)
* add cleanup process

* save state

* update README/CHANGELOG

* fix message

* `getSshDirectory()` should not be exported
2022-12-20 08:06:55 +09:00
shimataro
86a65fd09b
Merge pull request #222 from shimataro/develop
version 2.4.0
2022-11-03 05:05:47 +09:00
shimataro
193316a178
version 2.4.0 (#221) 2022-11-03 04:41:33 +09:00
shimataro
a3a8a38571
update dependencies (#220) 2022-11-03 04:12:51 +09:00
shimataro
1512adeca4
Feature/GitHub key (#122)
* always prepend key of github.com

* update README and CHANGELOG

* update tests

* test to connect bitbucket.org

* update test

* update rest tests
2022-11-03 03:41:25 +09:00
shimataro
bcb314ec07
fix usage of rsync (#218) 2022-10-31 00:31:19 +09:00
shimataro
53a7c26e5e
Feature/runners (#217)
* Updated runners list and tar updated to 6.1.11

* Updated runners list

* Added nodejs 16

* Updated .gitignore

* some adjusts

* update CHANGELOG

Co-authored-by: Viacheslav Kudinov <viacheslav.kudinov@gmail.com>
2022-10-30 23:46:03 +09:00
shimataro
fc21805258
Update nodejs version to 16 (#208) (#216)
* Update nodejs version to 16 (#208)

* Update nodejs version to 16

* Update runtime used to node16

* update CHANGELOG

Co-authored-by: Davide Doronzo <duddu@users.noreply.github.com>
2022-10-30 22:47:45 +09:00
shimataro
1926ba6435
update dependencies (#211) 2022-10-30 21:57:29 +09:00
shimataro
adea214356
Feature/refactor (#209)
* Change code style to 1TBS

* refactor creating ".ssh" directoy

* Add Windows-2022 / macOS-11 / macOS-12 / Ubuntu-22.04
Drop Ubuntu-16.04

* Drop centos:8 (Docker container)

* add CentOS 8 Stream (Docker container)

* use YAML alias

* Revert "use YAML alias"

This reverts commit 1ddbc7fde8.

* update .eslintrc

* move calling main to front
2022-10-30 19:57:06 +09:00
shimataro
3c9b0fc6f2
Merge pull request #190 from shimataro/develop
version 2.3.1
2021-08-01 23:19:32 +09:00
shimataro
b38d88da8a
version 2.3.1 (#189) 2021-08-01 23:04:08 +09:00
shimataro
92fef6465a
Feature/virtual environments (#187)
* remove ubuntu-16.04 virtual environment; https://github.blog/changelog/2021-04-29-github-actions-ubuntu-16-04-lts-virtual-environment-will-be-removed-on-september-20-2021/

* add `windows-2016` virtual environment

* update README/CHANGELOG

* remove ubuntu-16.04
fix tests on Windows/macOS
2021-08-01 22:31:32 +09:00
shimataro
a46749e290
Feature/update dependencies 20210801 (#186)
* update dependencies

* update CHANGELOG
2021-08-01 21:52:23 +09:00
shimataro
ce5317ebbf
Merge pull request #183 from shimataro/develop
version 2.3.0
2021-03-21 16:25:36 +09:00
shimataro
4dfaf8f393
version 2.3.0 (#182) 2021-03-21 16:05:33 +09:00
shimataro
954c620b17
Feature/no known hosts (#181)
* add "if_key_exists"

* add test

* fix flag

* fix SSH connection commands

* add test for if_key_exists=ignore

* add test for if_key_exists=fail

* add tests to Windows / macOS

* update CHANGELOG

* update badges

* update README

* fix README

* update README

* test no_known_hosts parameter

* implement

* ignore known_hosts if no_known_hosts is true

* refactor

* no_known_hosts is false

* Revert "no_known_hosts is false"

This reverts commit 206d310c5c.

* test on Windows / macOS

* test on Docker containers

* add tests for Docker containers

* test no_known_hosts parameter

* implement

* ignore known_hosts if no_known_hosts is true

* refactor

* no_known_hosts is false

* Revert "no_known_hosts is false"

This reverts commit 206d310c5c.

* test on Windows / macOS

* test on Docker containers

* use `known_hosts: no` instead of `no_known_hosts: true`

* update README

* update README

* "known_hosts: no" -> "known_hosts: unnecessary"

* update README

* update README

* update CHANGELOG
2021-03-21 15:43:28 +09:00
shimataro
f8aa6610de
Feature/verify on container alpine (#180)
* support Alpine Docker container

* add Git package

* update README

* update README; add install commands

* update CHANGELOG

* fix typo

* fix typo
2021-03-21 14:56:48 +09:00
shimataro
88fb14d113
add "if_key_exists" (#179)
* add "if_key_exists"

* add test

* fix flag

* fix SSH connection commands

* add test for if_key_exists=ignore

* add test for if_key_exists=fail

* add tests to Windows / macOS

* update CHANGELOG

* update badges

* update README

* fix README

* update README

* add tests for Docker containers
2021-03-18 20:57:28 +09:00
shimataro
0bbd533afd
Merge pull request #178 from shimataro/develop
version 2.2.0
2021-02-27 14:16:22 +09:00
shimataro
8053198ce5
version 2.2.0 (#177) 2021-02-27 14:09:25 +09:00
shimataro
68b956be12
Feature/centos (#176)
* check on CentOS container

* update README

* update links

* update CHANGELOG

* refactor insertLf()
2021-02-24 21:24:03 +09:00
shimataro
cdcc4725b3
test on Docker for Windows (#175)
* test on Docker for Windows

* Revert "test on Docker for Windows"

This reverts commit 5ad4baf9d8.

* update README
2021-02-23 11:27:02 +09:00
shimataro
80ed341cfe
update dependencies (#174) 2021-02-23 10:42:34 +09:00
shimataro
4b6bc79244
Feature/matrix docker container (#173)
* use matrix for Docker container

* update badge
2021-02-23 10:38:18 +09:00