From 33625f54ebe1167714ccb806954ad4de24fee032 Mon Sep 17 00:00:00 2001 From: Sam Davies Date: Thu, 28 Sep 2023 16:24:46 +0100 Subject: [PATCH] Attempting to handle update in octokit.rb --- app/lib/repo_management/secrets.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/repo_management/secrets.rb b/app/lib/repo_management/secrets.rb index b236c4d..8127738 100644 --- a/app/lib/repo_management/secrets.rb +++ b/app/lib/repo_management/secrets.rb @@ -44,7 +44,7 @@ def apply_secrets end def apply_secret(name, value) - client.create_or_update_secret(repo, name.upcase, options_for_secret(value)) + client.create_or_update_actions_secret(repo, name.upcase, options_for_secret(value)) end def options_for_secret(value) @@ -65,7 +65,7 @@ def key end def public_key - @public_key ||= client.get_public_key(repo) + @public_key ||= client.get_actions_public_key(repo) end def client