mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* reject overwriting private-key and public-key
This commit is contained in:
parent
e6a98e275c
commit
0a0608cf1f
3 changed files with 5 additions and 1 deletions
|
@ -22,6 +22,7 @@ function main() {
|
|||
contents: core.getInput("private-key"),
|
||||
options: {
|
||||
mode: 0o400,
|
||||
flag: "ax",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -29,6 +30,7 @@ function main() {
|
|||
contents: core.getInput("public-key"),
|
||||
options: {
|
||||
mode: 0o444,
|
||||
flag: "ax",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue