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

27 commits

Author SHA1 Message Date
shimataro
a94b58995c
refactor creating ".ssh" directoy 2022-10-30 17:50:42 +09:00
shimataro
37d0a89301
Change code style to 1TBS 2022-10-30 17:37:50 +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
shimataro
34604805aa
append LF (#151)
* append LF to known_hosts and config

* build

* update CHANGELOG
2020-08-15 10:31:03 +09:00
shimataro
be59087152
version 2.0.3 (#137) 2020-06-06 15:22:19 +09:00
shimataro
5f6cc712bb
version 2.0.0 (#116)
* Feature/private key (#71)

* * rename private-key to key

* * update CI

* * update README / CHANGELOG

* Feature/rename known hosts (#72)

* * rename known-hosts to known_hosts

* * update CI

* * update README

* * update CHANGELOG

* * update README

* Feature/known hosts required (#73)

* * make known-hosts required

* * update CI

* * update README

* * update CHANGELOG

* * update README

* Feature/docs v2 (#80)

* * update version in README

* * update badge URL

* * remove duplicated reference

* * update versions

* * fix CHANGELOG

* * fix version
2020-02-08 18:58:07 +09:00
shimataro
35971977d8
* use default import (#108) 2020-02-08 17:12:21 +09:00
shimataro
3ba1bf8166
Feature/ci (#63)
* * update CI version

* * add libs

* * update CI
2020-01-18 10:28:30 +09:00
shimataro
a4ff38c616
* add lint tools (#61) 2020-01-18 09:56:30 +09:00
shimataro
ab2b5fa346
* append LF to known_hosts / config (#60) 2020-01-18 09:31:29 +09:00
shimataro
f20ae0c76d
Feature/public key (#58)
* * make public key omittable

* * test

* * commit built files

* * update README

* * update CHANGELOG

* Revert "* test"

This reverts commit d344e3125e.
2020-01-18 08:31:30 +09:00
shimataro
29be3fc5f3
Feature/required (#49)
* * make private-key and public-key required

* * required parameter test

* * required parameter test

* * required parameters test 2

* * revert test
2019-12-30 08:51:14 +09:00
shimataro
0374d240c3
Feature/append config known hosts (#47)
* * append to "config" and "known_hosts" instead of overwriting

* * refactor options

* * add test

* * fix test

* * print created files twice

* * print the contents of known_hosts and config

* * fix revision for test

* * fix revision

* * add LF to known_hosts / config

* * append LF to config and known_hosts

* * fix test

* * reject overwriting private-key and public-key

* * update test (will cause error)

* * revert verify.yml

* * update README and CHANGELOG

* * fix example in README

* * update CHANGELOG
2019-12-30 08:24:22 +09:00
shimataro
3e015c8816
* update error instance (#46) 2019-12-22 23:21:17 +09:00
shimataro
c4ec6ddf76
Feature/get input (#45)
* * core.getInput() receives "required" option

* * revert options of getInput()

* * test

* Revert "* revert options of getInput()"

This reverts commit 39351ede4e.

* Revert "Revert "* revert options of getInput()""

This reverts commit 7ec9b1eed9.

* * add public-key
2019-12-22 22:10:43 +09:00
shimataro
c2f68a094e
Feature/config (#39)
* * add `config` option

* * test feature/config

* * update lib

* * update test

* * update README

* * update SHA on verify

* * fix SHA

* * fix SHA

* Revert "* update SHA on verify"

This reverts commit ee52bcaa27.

* * revert refs

* * fix refs
2019-12-22 19:01:05 +09:00
shimataro
3d8365bb3a
Feature/known_hosts (#25)
* * add "known-hosts" option

* * update CHANGELOG

* * update README

* * update actions.yml

* * update example of known-hosts

* * fix message
2019-09-29 13:18:35 +09:00
shimataro
4ea0f24aab
* use tab for indent (#8) 2019-09-19 06:55:40 +09:00
shimataro
010eec3d7a
Feature/styles (#6)
* * use tab for indent

* * use double quotes for string

* * use camelCase for variable

* * use path.join()

* * add JSDoc
2019-09-18 22:55:24 +09:00
shimataro
ace1e6a69a
* first action! (#1) 2019-09-18 20:39:54 +09:00