module Octokit::Client::ActionsSecrets

def list_actions_secrets(repo)

Other tags:
    See: https://developer.github.com/v3/actions/secrets/#list-secrets-for-a-repository -

Returns:
  • (Hash) - total_count and list of secrets (each item is hash with name, created_at and updated_at)

Parameters:
  • repo (Integer, String, Hash, Repository) -- A GitHub repository
def list_actions_secrets(repo)
  paginate "#{Repository.path repo}/actions/secrets" do |data, last_response|
    data.secrets.concat last_response.data.secrets
  end
end