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

161 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
shimataro
5b144c9cec
remove "pull_request" trigger from CI (#172) 2021-02-23 10:25:44 +09:00
shimataro
e83b5ac86d
support OpenSSH key format (#171)
* Make up for LF in last line of SSH key file

* refactor insertLf()

* add test for OpenSSH format

* add PKCS8 format

* apply to other virtual machines

* update README

* update CHANGELOG

Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
2021-02-23 10:22:30 +09:00
shimataro
026e5f82bf
Feature/container (#170)
* support Docker container

* move .ssh to /root

* remove print step

* change home directory for Docker container

* print HOME

* print home

* print home

* update dist file

* update dirname

* update CHANGELOG

* add badge
2021-02-08 23:31:19 +09:00
shimataro
0b924ac88f
update dependencies (#169) 2021-02-08 22:40:11 +09:00
shimataro
a988908393
Feature/ignore node modules (#166)
* Ignore Node files that should not be tracked

The list can be fetched by `gibo dump node`.

* Untrack node_modules/@actions

* Cache node_modules

* Don't add node_modules ins Bash scripts

* Use ncc to pack dependencies

* Change final product path

Remove & ignore previous one (lib/main.js{,.map})

* Disable PR check using author's key

Author's key is not passed to PR builds (#164)

* update settings

* update CHANGELOG

* update build.yml

Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
2021-02-08 22:19:05 +09:00
shimataro
47a775a015
Feature/fix readme (#167)
* fix README.md

* update README

Co-authored-by: KimSoungRyoul <KimSoungRyoul@gmail.com>
2021-02-08 21:40:22 +09:00
dependabot[bot]
66374eaff9
Bump @actions/core from 1.2.4 to 1.2.6 (#158)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-10 22:53:14 +09:00
shimataro
c1b9a14080
Feature/funding (#155)
* Create FUNDING.yml

* add PayPal.ME URL
2020-09-03 00:40:40 +09:00
shimataro
93a402e560
version 2.1.0 (#153) 2020-08-15 10:56:46 +09:00
shimataro
54623227a4
update dependencies (#152) 2020-08-15 10:38:03 +09:00
shimataro
34604805aa
append LF (#151)
* append LF to known_hosts and config

* build

* update CHANGELOG
2020-08-15 10:31:03 +09:00
shimataro
c6c7de11ed
update dependencies (#149) 2020-08-09 16:05:50 +09:00
dependabot[bot]
363e8e6fa1
Bump lodash from 4.17.15 to 4.17.19 (#146)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-09 15:48:52 +09:00
shimataro
ba121ac3a2
update dependencies (#144) 2020-07-05 07:35:03 +09:00
shimataro
d78e9995b0
Fix typo (#141)
* option -> parameter

* update CHANGELOG
2020-06-17 23:12:44 +09:00