Something seems to be wrong with fs.writeFileSync, im getting this error:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/home/runner/work/provisioning/provisioning/deployment/.ansible_key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/runner/work/provisioning/provisioning/deployment/.ansible_key": bad permissions
Checking the key file after the action i get the following output:
Something seems to be wrong with
fs.writeFileSync
, im getting this error:Checking the key file after the action i get the following output:
I've forked the action and added an exec chmod 600 after creating the file and it worked. Not sure how to solve it properly yet.