pantograph/lib/pantograph/actions/set_github_release.rb in pantograph-0.1.20 vs pantograph/lib/pantograph/actions/set_github_release.rb in pantograph-0.1.21

- old
+ new

@@ -155,14 +155,14 @@ def self.available_options [ PantographCore::ConfigItem.new(key: :repository_name, env_name: 'SET_GITHUB_RELEASE_REPOSITORY_NAME', - description: "The path to your repo, e.g. 'johnknapprs/pantograph'", + description: "The path to your repo, e.g. 'urbanquakers/pantograph'", verify_block: proc do |value| - UI.user_error!("Please only pass the path, e.g. 'johnknapprs/pantograph'") if value.include?("github.com") - UI.user_error!("Please only pass the path, e.g. 'johnknapprs/pantograph'") if value.split('/').count != 2 + UI.user_error!("Please only pass the path, e.g. 'urbanquakers/pantograph'") if value.include?("github.com") + UI.user_error!("Please only pass the path, e.g. 'urbanquakers/pantograph'") if value.split('/').count != 2 end), PantographCore::ConfigItem.new(key: :server_url, env_name: 'GITHUB_RELEASE_SERVER_URL', description: "The server url. e.g. 'https://your.internal.github.host/api/v3' (Default: 'https://api.github.com')", default_value: "https://api.github.com", @@ -253,10 +253,10 @@ end def self.example_code [ 'github_release = set_github_release( - repository_name: "johnknapprs/pantograph", + repository_name: "urbanquakers/pantograph", api_token: ENV["GITHUB_TOKEN"], name: "Super New actions", tag_name: "v1.22.0", description: (File.read("changelog") rescue "No changelog provided"), commitish: "master",