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

12 commits

Author SHA1 Message Date
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
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
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
a46749e290
Feature/update dependencies 20210801 (#186)
* update dependencies

* update CHANGELOG
2021-08-01 21:52:23 +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
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
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
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