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

23 commits

Author SHA1 Message Date
shimataro
74af40b44a
ignore known_hosts if no_known_hosts is true 2021-03-08 17:53:38 +09:00
shimataro
169acaed93
implement 2021-03-08 17:45:01 +09:00
shimataro
0673b3776f
test no_known_hosts parameter 2021-03-08 17:09:37 +09:00
shimataro
a005abbf9b
fix flag 2021-03-07 19:36:55 +09:00
shimataro
3685ae93c6
add "if_key_exists" 2021-03-07 19:21:05 +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
34604805aa
append LF (#151)
* append LF to known_hosts and config

* build

* update CHANGELOG
2020-08-15 10:31:03 +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
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