File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
lib/fastlane/plugin/github_action Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ def self.generate_deploy_key(params)
155155 body = {
156156 title : deploy_key_title ,
157157 key : k . ssh_public_key ,
158- read_only : true
158+ read_only : ! params [ :writable_deploy_key ]
159159 }
160160 post_deploy_key_resp = self . match_repo_post ( params , "/keys" , body )
161161 UI . message ( "Created Deploy Key" )
@@ -324,6 +324,11 @@ def self.available_options
324324 env_name : "FL_GITHUB_ACTIONS_MATCH_REPO" ,
325325 description : "Name of match repository" ,
326326 optional : true ) ,
327+ FastlaneCore ::ConfigItem . new ( key : :writable_deploy_key ,
328+ env_name : "FL_GITHUB_ACTIONS_WRITABLE_DEPLOY_KEY" ,
329+ description : "Determines if writable deploy key is used" ,
330+ default_value : false ,
331+ type : Boolean ) ,
327332 FastlaneCore ::ConfigItem . new ( key : :dotenv_paths ,
328333 env_name : "FL_GITHUB_ACTINOS_DOTENV_PATHS" ,
329334 description : "Paths of .env files to parse" ,
Original file line number Diff line number Diff line change 11module Fastlane
22 module GithubAction
3- VERSION = "1.0 .0"
3+ VERSION = "1.1 .0"
44 end
55end
You can’t perform that action at this time.
0 commit comments