Skip to content

Commit

Permalink
Attempting to handle update in octokit.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
sammyd committed Sep 28, 2023
1 parent 201cfcc commit 33625f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/repo_management/secrets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 33625f5

Please sign in to comment.