diff --git a/common/lib/dependabot/git_commit_checker.rb b/common/lib/dependabot/git_commit_checker.rb index 804a952882b..d548865f125 100644 --- a/common/lib/dependabot/git_commit_checker.rb +++ b/common/lib/dependabot/git_commit_checker.rb @@ -70,6 +70,11 @@ def pinned_ref_looks_like_commit_sha? ref_looks_like_commit_sha?(ref) end + def head_commit_for_pinned_ref + ref = dependency_source_details.fetch(:ref) + local_repo_git_metadata_fetcher.head_commit_for_ref_sha(ref) + end + def ref_looks_like_commit_sha?(ref) return false unless ref&.match?(/^[0-9a-f]{6,40}$/) @@ -85,13 +90,8 @@ def branch_or_ref_in_release?(version) def head_commit_for_current_branch ref = ref_or_branch || "HEAD" - if pinned? - return dependency.version || - local_repo_git_metadata_fetcher.head_commit_for_ref(ref) - end - - sha = local_repo_git_metadata_fetcher.head_commit_for_ref(ref) - return sha if sha + sha = head_commit_for_local_branch(ref) + return sha if pinned? || sha raise Dependabot::GitDependencyReferenceNotFound, dependency.name end diff --git a/common/lib/dependabot/git_metadata_fetcher.rb b/common/lib/dependabot/git_metadata_fetcher.rb index dae47a18b71..f34f314afc7 100644 --- a/common/lib/dependabot/git_metadata_fetcher.rb +++ b/common/lib/dependabot/git_metadata_fetcher.rb @@ -44,6 +44,12 @@ def head_commit_for_ref(ref) commit_sha end + def head_commit_for_ref_sha(ref) + refs_for_upload_pack. + find { |r| r.ref_sha == ref }&. + commit_sha + end + private attr_reader :url, :credentials diff --git a/common/spec/dependabot/git_commit_checker_spec.rb b/common/spec/dependabot/git_commit_checker_spec.rb index dd939978479..85bb3fbc1e2 100644 --- a/common/spec/dependabot/git_commit_checker_spec.rb +++ b/common/spec/dependabot/git_commit_checker_spec.rb @@ -510,31 +510,32 @@ ref: "v1.0.0" } end - it { is_expected.to eq(dependency.version) } - context "without a version" do - let(:version) { nil } + let(:git_header) do + { "content-type" => "application/x-git-upload-pack-advertisement" } + end + let(:auth_header) { "Basic eC1hY2Nlc3MtdG9rZW46dG9rZW4=" } - let(:git_header) do - { "content-type" => "application/x-git-upload-pack-advertisement" } - end - let(:auth_header) { "Basic eC1hY2Nlc3MtdG9rZW46dG9rZW4=" } + let(:git_url) do + "https://github.com/gocardless/business.git" \ + "/info/refs?service=git-upload-pack" + end - let(:git_url) do - "https://github.com/gocardless/business.git" \ - "/info/refs?service=git-upload-pack" + context "that can be reached just fine" do + before do + stub_request(:get, git_url). + with(headers: { "Authorization" => auth_header }). + to_return( + status: 200, + body: fixture("git", "upload_packs", "business"), + headers: git_header + ) end - context "that can be reached just fine" do - before do - stub_request(:get, git_url). - with(headers: { "Authorization" => auth_header }). - to_return( - status: 200, - body: fixture("git", "upload_packs", "business"), - headers: git_header - ) - end + it { is_expected.to eq(dependency.version) } + + context "without a version" do + let(:version) { nil } it { is_expected.to eq("df9f605d7111b6814fe493cf8f41de3f9f0978b2") } diff --git a/github_actions/lib/dependabot/github_actions.rb b/github_actions/lib/dependabot/github_actions.rb index 9339dc16468..ce40cd003ab 100644 --- a/github_actions/lib/dependabot/github_actions.rb +++ b/github_actions/lib/dependabot/github_actions.rb @@ -22,6 +22,3 @@ require "dependabot/dependency" Dependabot::Dependency. register_production_check("github_actions", ->(_) { true }) - -require "dependabot/utils" -Dependabot::Utils.register_always_clone("github_actions") diff --git a/github_actions/lib/dependabot/github_actions/update_checker.rb b/github_actions/lib/dependabot/github_actions/update_checker.rb index 11a2d71b355..0d921b4412c 100644 --- a/github_actions/lib/dependabot/github_actions/update_checker.rb +++ b/github_actions/lib/dependabot/github_actions/update_checker.rb @@ -83,12 +83,27 @@ def fetch_latest_version_for_git_dependency end def latest_commit_for_pinned_ref - @latest_commit_for_pinned_ref ||= - SharedHelpers.in_a_temporary_repo_directory("/", repo_contents_path) do - ref_branch = find_container_branch(current_commit) + @latest_commit_for_pinned_ref ||= begin + head_commit_for_ref_sha = git_commit_checker.head_commit_for_pinned_ref + if head_commit_for_ref_sha + head_commit_for_ref_sha + else + url = dependency_source_details[:url] + source = Source.from_url(url) - git_commit_checker.head_commit_for_local_branch(ref_branch) + SharedHelpers.in_a_temporary_directory(File.dirname(source.repo)) do |temp_dir| + repo_contents_path = File.join(temp_dir, File.basename(source.repo)) + + SharedHelpers.run_shell_command("git clone --no-recurse-submodules #{url} #{repo_contents_path}") + + Dir.chdir(repo_contents_path) do + ref_branch = find_container_branch(dependency_source_details[:ref]) + + git_commit_checker.head_commit_for_local_branch(ref_branch) + end + end end + end end def latest_version_tag @@ -184,17 +199,17 @@ def shortened_semver_eq?(base, other) end def find_container_branch(sha) - SharedHelpers.run_shell_command("git fetch #{current_commit}") - - branches_including_ref = SharedHelpers.run_shell_command("git branch --contains #{sha}").split("\n") + branches_including_ref = SharedHelpers.run_shell_command( + "git branch --remotes --contains #{sha}" + ).split("\n").map { |branch| branch.strip.gsub("origin/", "") } - current_branch = branches_including_ref.find { |line| line.start_with?("* ") } + current_branch = branches_including_ref.find { |branch| branch.start_with?("HEAD -> ") } if current_branch - current_branch.delete_prefix("* ") + current_branch.delete_prefix("HEAD -> ") elsif branches_including_ref.size > 1 # If there are multiple non default branches including the pinned SHA, then it's unclear how we should proceed - raise "Multiple ambiguous branches (#{branches_including_ref.join(', ')}) include #{current_commit}!" + raise "Multiple ambiguous branches (#{branches_including_ref.join(', ')}) include #{sha}!" else branches_including_ref.first end diff --git a/github_actions/spec/dependabot/github_actions/update_checker_spec.rb b/github_actions/spec/dependabot/github_actions/update_checker_spec.rb index 26637ab253d..206f3d4afcd 100644 --- a/github_actions/spec/dependabot/github_actions/update_checker_spec.rb +++ b/github_actions/spec/dependabot/github_actions/update_checker_spec.rb @@ -392,6 +392,67 @@ end end + context "given a realworld repository", :vcr do + let(:dependency) do + Dependabot::Dependency.new( + name: dependency_name, + version: dependency_version, + requirements: [{ + requirement: nil, + groups: [], + file: ".github/workflows/main.yml", + source: dependency_source + }], + package_manager: "github_actions" + ) + end + let(:dependency_name) { "dependabot-fixtures/github-action-push-to-another-repository" } + let(:dependency_version) { nil } + let(:dependency_source) do + { + type: "git", + url: "https://github.com/dependabot-fixtures/github-action-push-to-another-repository", + ref: reference, + branch: nil + } + end + + let(:latest_commit_in_main) { "9e487f29582587eeb4837c0552c886bb0644b6b9" } + let(:latest_commit_in_devel) { "c7563454dd4fbe0ea69095188860a62a19658a04" } + + context "when pinned to an up to date commit in the default branch" do + let(:reference) { latest_commit_in_main } + + it "returns the expected value" do + expect(subject).to eq(latest_commit_in_main) + end + end + + context "when pinned to an out of date commit in the default branch" do + let(:reference) { "f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465" } + + it "returns the expected value" do + expect(subject).to eq(latest_commit_in_main) + end + end + + context "when pinned to an up to date commit in a non default branch" do + let(:reference) { latest_commit_in_devel } + + it "returns the expected value" do + expect(subject).to eq(latest_commit_in_devel) + end + end + + context "when pinned to an out of date commit in a non default branch" do + let(:reference) { "96e7dec17bbeed08477b9edab6c3a573614b829d" } + + it "returns the expected value" do + expect(subject).to eq(latest_commit_in_devel) + end + end + end + context "that is a git commit SHA not pointing to the tip of a branch" do let(:reference) { "1c24df3" } let(:exit_status) { double(success?: true) } @@ -401,14 +462,18 @@ allow(git_commit_checker).to receive(:branch_or_ref_in_release?).and_return(false) allow(git_commit_checker).to receive(:head_commit_for_current_branch).and_return(reference) - allow(Open3).to receive(:capture2e).with(anything, "git fetch #{reference}").and_return(["", exit_status]) + allow(Dir).to receive(:chdir).and_yield + + allow(Open3).to receive(:capture2e). + with(anything, %r{git clone --no-recurse-submodules https://github\.com/actions/setup-node}). + and_return(["", exit_status]) end context "and it's in the current (default) branch" do before do allow(Open3).to receive(:capture2e). - with(anything, "git branch --contains #{reference}"). - and_return(["* master\n", exit_status]) + with(anything, "git branch --remotes --contains #{reference}"). + and_return([" origin/HEAD -> origin/master\n origin/master", exit_status]) end it "can update to the latest version" do @@ -421,8 +486,8 @@ before do allow(Open3).to receive(:capture2e). - with(anything, "git branch --contains #{reference}"). - and_return(["releases/v1\n", exit_status]) + with(anything, "git branch --remotes --contains #{reference}"). + and_return([" origin/releases/v1\n", exit_status]) end it "can update to the latest version" do @@ -433,8 +498,8 @@ context "and multiple branches include it, the current (default) branch among them" do before do allow(Open3).to receive(:capture2e). - with(anything, "git branch --contains #{reference}"). - and_return(["* master\nv1.1\n", exit_status]) + with(anything, "git branch --remotes --contains #{reference}"). + and_return([" origin/HEAD -> origin/master\n origin/master\n origin/v1.1\n", exit_status]) end it "can update to the latest version" do @@ -445,8 +510,8 @@ context "and multiple branches include it, the current (default) branch NOT among them" do before do allow(Open3).to receive(:capture2e). - with(anything, "git branch --contains #{reference}"). - and_return(["3.3-stable\nproduction\n", exit_status]) + with(anything, "git branch --remotes --contains #{reference}"). + and_return([" origin/3.3-stable\n origin/production\n", exit_status]) end it "raises an error" do diff --git a/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_out_of_date_commit_in_a_non_default_branch/returns_the_expected_value.yml b/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_out_of_date_commit_in_a_non_default_branch/returns_the_expected_value.yml new file mode 100644 index 00000000000..4fd4a691077 --- /dev/null +++ b/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_out_of_date_commit_in_a_non_default_branch/returns_the_expected_value.yml @@ -0,0 +1,305 @@ +--- +http_interactions: +- request: + method: get + uri: https://github.com/dependabot-fixtures/github-action-push-to-another-repository.git/info/refs?service=git-upload-pack + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - dependabot-core/0.213.0 excon/0.94.0 ruby/3.1.2 (aarch64-linux) (+https://github.com/dependabot/dependabot-core) + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub Babel 2.0 + content-type: + - application/x-git-upload-pack-advertisement + content-security-policy: + - default-src 'none'; sandbox + expires: + - Fri, 01 Jan 1980 00:00:00 GMT + pragma: + - no-cache + cache-control: + - no-cache, max-age=0, must-revalidate + vary: + - Accept-Encoding + x-frame-options: + - DENY + x-github-request-id: + - 0A8E:8AC4:1974968:1A0B50F:636E3B6B + body: + encoding: ASCII-8BIT + string: "001e# service=git-upload-pack\n000001549e487f29582587eeb4837c0552c886bb0644b6b9 + HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since + deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want + allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 + agent=git/github-gfe630fe0f311\n00480d608f8ef76d25976130a63cbe7f8db3945189e2 + refs/heads/composite-1.5.1\n00418aa8ad206e57bae695f9fcdc82c71fa0c01a148e refs/heads/debug-78\n003ec7563454dd4fbe0ea69095188860a62a19658a04 + refs/heads/devel\n004e12e7eb93014f59be062fc72c51708ac1e079a3ac refs/heads/improve-documentation\n003d9e487f29582587eeb4837c0552c886bb0644b6b9 + refs/heads/main\n003f940a2857e598a6392bd336330b07416c1ae8ea1f refs/heads/master\n0045e4d57da60ecdc216eff9885b0330de99b2485dbf + refs/heads/new-template\n0047b5ac509f7b2dc62ec43608515039593fae596689 refs/heads/ssh-deploy-key\n004fc26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter-shell-options\n0078c26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter_shell_option-commit_message-documentation_improvements\n0046e89946750758f3bca4d80d6a1b2b536ce33d4260 + refs/heads/update-readme\n003aea532627535451757c1793514eed939e4683d45a refs/tags/v1\n003c1cfade9aa388629e9cf79a8b8c35ae100efd1f5d + refs/tags/v1.1\n003f637125d2256c6612875516875c0e715afb799614 refs/tags/v1.1^{}\n003c976916018a4108195b74a5663a045141c6708c79 + refs/tags/v1.2\n003c8e9bfb00e6687c3f5cbc272c09b9dd2c27c7720c refs/tags/v1.3\n003c164a872083db0b1bb8cac1628f43e512716dceee + refs/tags/v1.4\n003e483689a71cf9d3a0bbdd79d23e00646ef4124391 refs/tags/v1.4.1\n003eac0bb2c8f9246ed4df2994ad799cef891fc07c62 + refs/tags/v1.4.2\n003cf8f86f8d8fa988b561a263ad18bec22173325f13 refs/tags/v1.5\n003e74596b72fae72d9b7b79e1b2992863c0f595c801 + refs/tags/v1.5.1\n0000" + recorded_at: Fri, 11 Nov 2022 12:09:15 GMT +- request: + method: get + uri: https://github.com/dependabot-fixtures/github-action-push-to-another-repository.git/info/refs?service=git-upload-pack + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - dependabot-core/0.213.0 excon/0.94.0 ruby/3.1.2 (aarch64-linux) (+https://github.com/dependabot/dependabot-core) + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub Babel 2.0 + content-type: + - application/x-git-upload-pack-advertisement + content-security-policy: + - default-src 'none'; sandbox + expires: + - Fri, 01 Jan 1980 00:00:00 GMT + pragma: + - no-cache + cache-control: + - no-cache, max-age=0, must-revalidate + vary: + - Accept-Encoding + x-frame-options: + - DENY + x-github-request-id: + - 0A8F:14E9:180EF5E:18A2A47:636E3B6B + body: + encoding: ASCII-8BIT + string: "001e# service=git-upload-pack\n000001549e487f29582587eeb4837c0552c886bb0644b6b9 + HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since + deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want + allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 + agent=git/github-gfe630fe0f311\n00480d608f8ef76d25976130a63cbe7f8db3945189e2 + refs/heads/composite-1.5.1\n00418aa8ad206e57bae695f9fcdc82c71fa0c01a148e refs/heads/debug-78\n003ec7563454dd4fbe0ea69095188860a62a19658a04 + refs/heads/devel\n004e12e7eb93014f59be062fc72c51708ac1e079a3ac refs/heads/improve-documentation\n003d9e487f29582587eeb4837c0552c886bb0644b6b9 + refs/heads/main\n003f940a2857e598a6392bd336330b07416c1ae8ea1f refs/heads/master\n0045e4d57da60ecdc216eff9885b0330de99b2485dbf + refs/heads/new-template\n0047b5ac509f7b2dc62ec43608515039593fae596689 refs/heads/ssh-deploy-key\n004fc26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter-shell-options\n0078c26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter_shell_option-commit_message-documentation_improvements\n0046e89946750758f3bca4d80d6a1b2b536ce33d4260 + refs/heads/update-readme\n003aea532627535451757c1793514eed939e4683d45a refs/tags/v1\n003c1cfade9aa388629e9cf79a8b8c35ae100efd1f5d + refs/tags/v1.1\n003f637125d2256c6612875516875c0e715afb799614 refs/tags/v1.1^{}\n003c976916018a4108195b74a5663a045141c6708c79 + refs/tags/v1.2\n003c8e9bfb00e6687c3f5cbc272c09b9dd2c27c7720c refs/tags/v1.3\n003c164a872083db0b1bb8cac1628f43e512716dceee + refs/tags/v1.4\n003e483689a71cf9d3a0bbdd79d23e00646ef4124391 refs/tags/v1.4.1\n003eac0bb2c8f9246ed4df2994ad799cef891fc07c62 + refs/tags/v1.4.2\n003cf8f86f8d8fa988b561a263ad18bec22173325f13 refs/tags/v1.5\n003e74596b72fae72d9b7b79e1b2992863c0f595c801 + refs/tags/v1.5.1\n0000" + recorded_at: Fri, 11 Nov 2022 12:09:16 GMT +- request: + method: get + uri: https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - Octokit Ruby Gem 6.0.0 + accept: + - application/vnd.github.v3+json + content-type: + - application/json + accept-encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub.com + date: + - Fri, 11 Nov 2022 12:09:16 GMT + content-type: + - application/json; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - private, max-age=60, s-maxage=60 + vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + etag: + - W/"ff88cb868d510a361597cef89804c9b5e0c1f79e563d2a2586b4423c48800e91" + last-modified: + - Mon, 05 Sep 2022 22:33:35 GMT + x-oauth-scopes: + - repo, workflow + x-accepted-oauth-scopes: + - '' + github-authentication-token-expiration: + - 2023-01-20 10:52:26 UTC + x-github-media-type: + - github.v3; format=json + x-ratelimit-limit: + - '5000' + x-ratelimit-remaining: + - '4975' + x-ratelimit-reset: + - '1668171026' + x-ratelimit-used: + - '25' + x-ratelimit-resource: + - core + access-control-expose-headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + access-control-allow-origin: + - "*" + strict-transport-security: + - max-age=31536000; includeSubdomains; preload + x-frame-options: + - deny + x-content-type-options: + - nosniff + x-xss-protection: + - '0' + referrer-policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + content-security-policy: + - default-src 'none' + x-github-request-id: + - 0A90:4732:14EB6C6:1539DE9:636E3B6C + body: + encoding: ASCII-8BIT + string: '{"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d","permalink_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/dependabot-fixtures:74596b7...dependabot-fixtures:96e7dec","diff_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d.diff","patch_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d.patch","base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"merge_base_commit":{"sha":"483689a71cf9d3a0bbdd79d23e00646ef4124391","node_id":"C_kwDOIalVntoAKDQ4MzY4OWE3MWNmOWQzYTBiYmRkNzlkMjNlMDA2NDZlZjQxMjQzOTE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-01-21T16:42:11Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-01-21T16:42:11Z"},"message":"Use + {} in the variable expansion","tree":{"sha":"bb03798fa87fc6955aab9e8553a0de88c63706c4","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/bb03798fa87fc6955aab9e8553a0de88c63706c4"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/483689a71cf9d3a0bbdd79d23e00646ef4124391","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"084156bc22fb09c236f439a3accd8b11fd3c1ced","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/084156bc22fb09c236f439a3accd8b11fd3c1ced","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/084156bc22fb09c236f439a3accd8b11fd3c1ced"}]},"status":"diverged","ahead_by":2,"behind_by":16,"total_commits":2,"commits":[{"sha":"e8fa5fd15849c4597f4d067a9999ad4311ff1c50","node_id":"C_kwDOIalVntoAKGU4ZmE1ZmQxNTg0OWM0NTk3ZjRkMDY3YTk5OTlhZDQzMTFmZjFjNTA","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:46:46Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:46:46Z"},"message":"Print + git version and attempted fix for\nhttps://github.com/cpina/github-action-push-to-another-repository/issues/64\nrelated + to https://github.blog/2022-04-12-git-security-vulnerability-announced/","tree":{"sha":"87eff833b0541a60b9e97418a0a87b94912470f6","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87eff833b0541a60b9e97418a0a87b94912470f6"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"483689a71cf9d3a0bbdd79d23e00646ef4124391","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/483689a71cf9d3a0bbdd79d23e00646ef4124391"}]},{"sha":"96e7dec17bbeed08477b9edab6c3a573614b829d","node_id":"C_kwDOIalVntoAKDk2ZTdkZWMxN2JiZWVkMDg0NzdiOWVkYWI2YzNhNTczNjE0YjgyOWQ","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:50:50Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:50:50Z"},"message":"Use + --global","tree":{"sha":"26b90173d74a50aca59ff63037c957fbcab8b6cc","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/26b90173d74a50aca59ff63037c957fbcab8b6cc"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/96e7dec17bbeed08477b9edab6c3a573614b829d","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"e8fa5fd15849c4597f4d067a9999ad4311ff1c50","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e8fa5fd15849c4597f4d067a9999ad4311ff1c50"}]}],"files":[{"sha":"6a24a362a9841f8f83794c4f1556d5b05f469a3c","filename":"entrypoint.sh","status":"modified","additions":8,"deletions":0,"changes":8,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/96e7dec17bbeed08477b9edab6c3a573614b829d/entrypoint.sh","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/96e7dec17bbeed08477b9edab6c3a573614b829d/entrypoint.sh","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/entrypoint.sh?ref=96e7dec17bbeed08477b9edab6c3a573614b829d","patch":"@@ + -28,6 +28,14 @@ fi\n \n CLONE_DIR=$(mktemp -d)\n \n+echo \"[+] Git version\"\n+git + --version\n+\n+echo \"[+] Add everything is safe\"\n+# Related to https://github.com/cpina/github-action-push-to-another-repository/issues/64 + and https://github.com/cpina/github-action-push-to-another-repository/issues/64\n+# + TODO: review before releasing it as a version\n+git config --global --add + safe.directory /\n+\n echo \"[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME\"\n + # Setup git\n git config --global user.email \"$USER_EMAIL\""}]}' + recorded_at: Fri, 11 Nov 2022 12:09:16 GMT +- request: + method: get + uri: https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - Octokit Ruby Gem 6.0.0 + accept: + - application/vnd.github.v3+json + content-type: + - application/json + accept-encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub.com + date: + - Fri, 11 Nov 2022 12:09:16 GMT + content-type: + - application/json; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - private, max-age=60, s-maxage=60 + vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + etag: + - W/"ff88cb868d510a361597cef89804c9b5e0c1f79e563d2a2586b4423c48800e91" + last-modified: + - Mon, 05 Sep 2022 22:33:35 GMT + x-oauth-scopes: + - repo, workflow + x-accepted-oauth-scopes: + - '' + github-authentication-token-expiration: + - 2023-01-20 10:52:26 UTC + x-github-media-type: + - github.v3; format=json + x-ratelimit-limit: + - '5000' + x-ratelimit-remaining: + - '4974' + x-ratelimit-reset: + - '1668171026' + x-ratelimit-used: + - '26' + x-ratelimit-resource: + - core + access-control-expose-headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + access-control-allow-origin: + - "*" + strict-transport-security: + - max-age=31536000; includeSubdomains; preload + x-frame-options: + - deny + x-content-type-options: + - nosniff + x-xss-protection: + - '0' + referrer-policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + content-security-policy: + - default-src 'none' + x-github-request-id: + - 0A91:8F6B:12899D0:12D71CE:636E3B6C + body: + encoding: ASCII-8BIT + string: '{"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d","permalink_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/dependabot-fixtures:74596b7...dependabot-fixtures:96e7dec","diff_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d.diff","patch_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...96e7dec17bbeed08477b9edab6c3a573614b829d.patch","base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"merge_base_commit":{"sha":"483689a71cf9d3a0bbdd79d23e00646ef4124391","node_id":"C_kwDOIalVntoAKDQ4MzY4OWE3MWNmOWQzYTBiYmRkNzlkMjNlMDA2NDZlZjQxMjQzOTE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-01-21T16:42:11Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-01-21T16:42:11Z"},"message":"Use + {} in the variable expansion","tree":{"sha":"bb03798fa87fc6955aab9e8553a0de88c63706c4","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/bb03798fa87fc6955aab9e8553a0de88c63706c4"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/483689a71cf9d3a0bbdd79d23e00646ef4124391","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"084156bc22fb09c236f439a3accd8b11fd3c1ced","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/084156bc22fb09c236f439a3accd8b11fd3c1ced","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/084156bc22fb09c236f439a3accd8b11fd3c1ced"}]},"status":"diverged","ahead_by":2,"behind_by":16,"total_commits":2,"commits":[{"sha":"e8fa5fd15849c4597f4d067a9999ad4311ff1c50","node_id":"C_kwDOIalVntoAKGU4ZmE1ZmQxNTg0OWM0NTk3ZjRkMDY3YTk5OTlhZDQzMTFmZjFjNTA","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:46:46Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:46:46Z"},"message":"Print + git version and attempted fix for\nhttps://github.com/cpina/github-action-push-to-another-repository/issues/64\nrelated + to https://github.blog/2022-04-12-git-security-vulnerability-announced/","tree":{"sha":"87eff833b0541a60b9e97418a0a87b94912470f6","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87eff833b0541a60b9e97418a0a87b94912470f6"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"483689a71cf9d3a0bbdd79d23e00646ef4124391","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/483689a71cf9d3a0bbdd79d23e00646ef4124391"}]},{"sha":"96e7dec17bbeed08477b9edab6c3a573614b829d","node_id":"C_kwDOIalVntoAKDk2ZTdkZWMxN2JiZWVkMDg0NzdiOWVkYWI2YzNhNTczNjE0YjgyOWQ","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:50:50Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:50:50Z"},"message":"Use + --global","tree":{"sha":"26b90173d74a50aca59ff63037c957fbcab8b6cc","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/26b90173d74a50aca59ff63037c957fbcab8b6cc"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/96e7dec17bbeed08477b9edab6c3a573614b829d","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"e8fa5fd15849c4597f4d067a9999ad4311ff1c50","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e8fa5fd15849c4597f4d067a9999ad4311ff1c50"}]}],"files":[{"sha":"6a24a362a9841f8f83794c4f1556d5b05f469a3c","filename":"entrypoint.sh","status":"modified","additions":8,"deletions":0,"changes":8,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/96e7dec17bbeed08477b9edab6c3a573614b829d/entrypoint.sh","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/96e7dec17bbeed08477b9edab6c3a573614b829d/entrypoint.sh","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/entrypoint.sh?ref=96e7dec17bbeed08477b9edab6c3a573614b829d","patch":"@@ + -28,6 +28,14 @@ fi\n \n CLONE_DIR=$(mktemp -d)\n \n+echo \"[+] Git version\"\n+git + --version\n+\n+echo \"[+] Add everything is safe\"\n+# Related to https://github.com/cpina/github-action-push-to-another-repository/issues/64 + and https://github.com/cpina/github-action-push-to-another-repository/issues/64\n+# + TODO: review before releasing it as a version\n+git config --global --add + safe.directory /\n+\n echo \"[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME\"\n + # Setup git\n git config --global user.email \"$USER_EMAIL\""}]}' + recorded_at: Fri, 11 Nov 2022 12:09:16 GMT +recorded_with: VCR 6.1.0 diff --git a/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_out_of_date_commit_in_the_default_branch/returns_the_expected_value.yml b/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_out_of_date_commit_in_the_default_branch/returns_the_expected_value.yml new file mode 100644 index 00000000000..cfec72b9ecc --- /dev/null +++ b/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_out_of_date_commit_in_the_default_branch/returns_the_expected_value.yml @@ -0,0 +1,321 @@ +--- +http_interactions: +- request: + method: get + uri: https://github.com/dependabot-fixtures/github-action-push-to-another-repository.git/info/refs?service=git-upload-pack + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - dependabot-core/0.213.0 excon/0.94.0 ruby/3.1.2 (aarch64-linux) (+https://github.com/dependabot/dependabot-core) + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub Babel 2.0 + content-type: + - application/x-git-upload-pack-advertisement + content-security-policy: + - default-src 'none'; sandbox + expires: + - Fri, 01 Jan 1980 00:00:00 GMT + pragma: + - no-cache + cache-control: + - no-cache, max-age=0, must-revalidate + vary: + - Accept-Encoding + x-frame-options: + - DENY + x-github-request-id: + - 0A89:13BCF:18488DF:18DEC9B:636E3B69 + body: + encoding: ASCII-8BIT + string: "001e# service=git-upload-pack\n000001549e487f29582587eeb4837c0552c886bb0644b6b9 + HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since + deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want + allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 + agent=git/github-gfe630fe0f311\n00480d608f8ef76d25976130a63cbe7f8db3945189e2 + refs/heads/composite-1.5.1\n00418aa8ad206e57bae695f9fcdc82c71fa0c01a148e refs/heads/debug-78\n003ec7563454dd4fbe0ea69095188860a62a19658a04 + refs/heads/devel\n004e12e7eb93014f59be062fc72c51708ac1e079a3ac refs/heads/improve-documentation\n003d9e487f29582587eeb4837c0552c886bb0644b6b9 + refs/heads/main\n003f940a2857e598a6392bd336330b07416c1ae8ea1f refs/heads/master\n0045e4d57da60ecdc216eff9885b0330de99b2485dbf + refs/heads/new-template\n0047b5ac509f7b2dc62ec43608515039593fae596689 refs/heads/ssh-deploy-key\n004fc26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter-shell-options\n0078c26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter_shell_option-commit_message-documentation_improvements\n0046e89946750758f3bca4d80d6a1b2b536ce33d4260 + refs/heads/update-readme\n003aea532627535451757c1793514eed939e4683d45a refs/tags/v1\n003c1cfade9aa388629e9cf79a8b8c35ae100efd1f5d + refs/tags/v1.1\n003f637125d2256c6612875516875c0e715afb799614 refs/tags/v1.1^{}\n003c976916018a4108195b74a5663a045141c6708c79 + refs/tags/v1.2\n003c8e9bfb00e6687c3f5cbc272c09b9dd2c27c7720c refs/tags/v1.3\n003c164a872083db0b1bb8cac1628f43e512716dceee + refs/tags/v1.4\n003e483689a71cf9d3a0bbdd79d23e00646ef4124391 refs/tags/v1.4.1\n003eac0bb2c8f9246ed4df2994ad799cef891fc07c62 + refs/tags/v1.4.2\n003cf8f86f8d8fa988b561a263ad18bec22173325f13 refs/tags/v1.5\n003e74596b72fae72d9b7b79e1b2992863c0f595c801 + refs/tags/v1.5.1\n0000" + recorded_at: Fri, 11 Nov 2022 12:09:13 GMT +- request: + method: get + uri: https://github.com/dependabot-fixtures/github-action-push-to-another-repository.git/info/refs?service=git-upload-pack + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - dependabot-core/0.213.0 excon/0.94.0 ruby/3.1.2 (aarch64-linux) (+https://github.com/dependabot/dependabot-core) + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub Babel 2.0 + content-type: + - application/x-git-upload-pack-advertisement + content-security-policy: + - default-src 'none'; sandbox + expires: + - Fri, 01 Jan 1980 00:00:00 GMT + pragma: + - no-cache + cache-control: + - no-cache, max-age=0, must-revalidate + vary: + - Accept-Encoding + x-frame-options: + - DENY + x-github-request-id: + - 0A8A:C431:18D38E2:1969198:636E3B69 + body: + encoding: ASCII-8BIT + string: "001e# service=git-upload-pack\n000001549e487f29582587eeb4837c0552c886bb0644b6b9 + HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since + deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want + allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 + agent=git/github-gfe630fe0f311\n00480d608f8ef76d25976130a63cbe7f8db3945189e2 + refs/heads/composite-1.5.1\n00418aa8ad206e57bae695f9fcdc82c71fa0c01a148e refs/heads/debug-78\n003ec7563454dd4fbe0ea69095188860a62a19658a04 + refs/heads/devel\n004e12e7eb93014f59be062fc72c51708ac1e079a3ac refs/heads/improve-documentation\n003d9e487f29582587eeb4837c0552c886bb0644b6b9 + refs/heads/main\n003f940a2857e598a6392bd336330b07416c1ae8ea1f refs/heads/master\n0045e4d57da60ecdc216eff9885b0330de99b2485dbf + refs/heads/new-template\n0047b5ac509f7b2dc62ec43608515039593fae596689 refs/heads/ssh-deploy-key\n004fc26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter-shell-options\n0078c26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter_shell_option-commit_message-documentation_improvements\n0046e89946750758f3bca4d80d6a1b2b536ce33d4260 + refs/heads/update-readme\n003aea532627535451757c1793514eed939e4683d45a refs/tags/v1\n003c1cfade9aa388629e9cf79a8b8c35ae100efd1f5d + refs/tags/v1.1\n003f637125d2256c6612875516875c0e715afb799614 refs/tags/v1.1^{}\n003c976916018a4108195b74a5663a045141c6708c79 + refs/tags/v1.2\n003c8e9bfb00e6687c3f5cbc272c09b9dd2c27c7720c refs/tags/v1.3\n003c164a872083db0b1bb8cac1628f43e512716dceee + refs/tags/v1.4\n003e483689a71cf9d3a0bbdd79d23e00646ef4124391 refs/tags/v1.4.1\n003eac0bb2c8f9246ed4df2994ad799cef891fc07c62 + refs/tags/v1.4.2\n003cf8f86f8d8fa988b561a263ad18bec22173325f13 refs/tags/v1.5\n003e74596b72fae72d9b7b79e1b2992863c0f595c801 + refs/tags/v1.5.1\n0000" + recorded_at: Fri, 11 Nov 2022 12:09:13 GMT +- request: + method: get + uri: https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465 + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - Octokit Ruby Gem 6.0.0 + accept: + - application/vnd.github.v3+json + content-type: + - application/json + accept-encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub.com + date: + - Fri, 11 Nov 2022 12:09:13 GMT + content-type: + - application/json; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - private, max-age=60, s-maxage=60 + vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + etag: + - W/"ea3bba317147f4414bfdb5ed1cf1d9eb131de09b394a44b1512e12e10e3e3aaf" + last-modified: + - Wed, 21 Sep 2022 16:33:41 GMT + x-oauth-scopes: + - repo, workflow + x-accepted-oauth-scopes: + - '' + github-authentication-token-expiration: + - 2023-01-20 10:52:26 UTC + x-github-media-type: + - github.v3; format=json + x-ratelimit-limit: + - '5000' + x-ratelimit-remaining: + - '4977' + x-ratelimit-reset: + - '1668171026' + x-ratelimit-used: + - '23' + x-ratelimit-resource: + - core + access-control-expose-headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + access-control-allow-origin: + - "*" + strict-transport-security: + - max-age=31536000; includeSubdomains; preload + x-frame-options: + - deny + x-content-type-options: + - nosniff + x-xss-protection: + - '0' + referrer-policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + content-security-policy: + - default-src 'none' + x-github-request-id: + - 0A8B:CB3D:151B2FF:156927E:636E3B69 + body: + encoding: ASCII-8BIT + string: '{"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","permalink_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/dependabot-fixtures:74596b7...dependabot-fixtures:f4b9c90","diff_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465.diff","patch_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465.patch","base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"merge_base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"status":"ahead","ahead_by":2,"behind_by":0,"total_commits":2,"commits":[{"sha":"6cb505d32f3d501bfc032f2f84b601453fd66c02","node_id":"C_kwDOIalVntoAKDZjYjUwNWQzMmYzZDUwMWJmYzAzMmYyZjg0YjYwMTQ1M2ZkNjZjMDI","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T23:18:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T23:18:35Z"},"message":"Since + we need to download only the last snapshot, it is not necessary to download + the full commits history.\n\nThanks @wcota\nPR: https://github.com/cpina/github-action-push-to-another-repository/pull/60","tree":{"sha":"1e2b4dbd3e366cecb53d0517d88cdf7903f2d07f","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/1e2b4dbd3e366cecb53d0517d88cdf7903f2d07f"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/6cb505d32f3d501bfc032f2f84b601453fd66c02","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801"}]},{"sha":"f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","node_id":"C_kwDOIalVntoAKGY0YjljOTA1MTZhZDNiZGNmZGM2ZjRmY2Y4YmE5MzdkMGJkNDA0NjU","commit":{"author":{"name":"Carles + Pina Estany","email":"carles@pina.cat","date":"2022-09-21T16:33:41Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2022-09-21T16:33:41Z"},"message":"Add + issue template (#88)","tree":{"sha":"6b806f77bdfc555b26b1be26ff8ba9fa6f025806","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/6b806f77bdfc555b26b1be26ff8ba9fa6f025806"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJjKzzlCRBK7hj4Ov3rIwAAYH4IAItgL6MSj/iYO71XY87d/eZX\nHPQ2jp7DWAXJDEAfwt+p6RdOca02WPscVYPfic1bDzFH6EkWzMjuCvbAVynVFg0S\nd7B6QDjLoLfNGxhhgw+SJOgetp7oGI6AAoDaw2Isa/HP5u4B/jZSXwsyW4zSW1fV\nKR4azEQBe13TT+7ha0rrWh6hcSkPrLeK4C+AaoY1jLhwWWbjwY4Wiu/jjZVcuKtx\nULYP3Vcn5i1vb9snTxEZdr+U3qWchB/8A1SCwR4elyAVVfRsJL2wfvBSJcn2gNum\nuIHnQxeKz7DJ7yDODW7FFRLR/ikj52+UI6vQ/kcWWsGsmKDl3zppGxdinjhSGuA=\n=5nnm\n-----END + PGP SIGNATURE-----\n","payload":"tree 6b806f77bdfc555b26b1be26ff8ba9fa6f025806\nparent + 6cb505d32f3d501bfc032f2f84b601453fd66c02\nauthor Carles Pina Estany + 1663778021 +0100\ncommitter GitHub 1663778021 +0100\n\nAdd + issue template (#88)\n\n"}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"6cb505d32f3d501bfc032f2f84b601453fd66c02","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/6cb505d32f3d501bfc032f2f84b601453fd66c02"}]}],"files":[{"sha":"53f296caba459bbcf1efc141c2fa4f5b2362119a","filename":".github/ISSUE_TEMPLATE/windows_mac_nodocker.md","status":"added","additions":10,"deletions":0,"changes":10,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md?ref=f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","patch":"@@ + -0,0 +1,10 @@\n+---\n+name: Windows/Mac/No Docker\n+about: Questions about + Windows/Mac/No Docker runners\n+title: ''''\n+labels: Windows-Mac-NoDocker\n+assignees: + ''''\n+\n+---\n+\n+Suggestion: see the relevant FAQ entry: https://cpina.github.io/push-to-another-repository-docs/faq.html#could-it-work-on-mac-os-windows-or-no-docker-environments"},{"sha":"83a61f141146a337ee9ce478013be69cc6508df6","filename":"entrypoint.sh","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/entrypoint.sh","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/entrypoint.sh","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/entrypoint.sh?ref=f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","patch":"@@ + -66,7 +66,7 @@ git config --global user.email \"$USER_EMAIL\"\n git config + --global user.name \"$USER_NAME\"\n \n {\n-\tgit clone --single-branch --branch + \"$TARGET_BRANCH\" \"$GIT_CMD_REPOSITORY\" \"$CLONE_DIR\"\n+\tgit clone --single-branch + --depth 1 --branch \"$TARGET_BRANCH\" \"$GIT_CMD_REPOSITORY\" \"$CLONE_DIR\"\n + } || {\n \techo \"::error::Could not clone the destination repository. Command:\"\n + \techo \"::error::git clone --single-branch --branch $TARGET_BRANCH $GIT_CMD_REPOSITORY + $CLONE_DIR\""}]}' + recorded_at: Fri, 11 Nov 2022 12:09:14 GMT +- request: + method: get + uri: https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465 + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - Octokit Ruby Gem 6.0.0 + accept: + - application/vnd.github.v3+json + content-type: + - application/json + accept-encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub.com + date: + - Fri, 11 Nov 2022 12:09:14 GMT + content-type: + - application/json; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - private, max-age=60, s-maxage=60 + vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + etag: + - W/"ea3bba317147f4414bfdb5ed1cf1d9eb131de09b394a44b1512e12e10e3e3aaf" + last-modified: + - Wed, 21 Sep 2022 16:33:41 GMT + x-oauth-scopes: + - repo, workflow + x-accepted-oauth-scopes: + - '' + github-authentication-token-expiration: + - 2023-01-20 10:52:26 UTC + x-github-media-type: + - github.v3; format=json + x-ratelimit-limit: + - '5000' + x-ratelimit-remaining: + - '4976' + x-ratelimit-reset: + - '1668171026' + x-ratelimit-used: + - '24' + x-ratelimit-resource: + - core + access-control-expose-headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + access-control-allow-origin: + - "*" + strict-transport-security: + - max-age=31536000; includeSubdomains; preload + x-frame-options: + - deny + x-content-type-options: + - nosniff + x-xss-protection: + - '0' + referrer-policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + content-security-policy: + - default-src 'none' + x-github-request-id: + - 0A8C:8A0B:15651A5:15B290B:636E3B6A + body: + encoding: ASCII-8BIT + string: '{"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","permalink_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/dependabot-fixtures:74596b7...dependabot-fixtures:f4b9c90","diff_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465.diff","patch_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465.patch","base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"merge_base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"status":"ahead","ahead_by":2,"behind_by":0,"total_commits":2,"commits":[{"sha":"6cb505d32f3d501bfc032f2f84b601453fd66c02","node_id":"C_kwDOIalVntoAKDZjYjUwNWQzMmYzZDUwMWJmYzAzMmYyZjg0YjYwMTQ1M2ZkNjZjMDI","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T23:18:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T23:18:35Z"},"message":"Since + we need to download only the last snapshot, it is not necessary to download + the full commits history.\n\nThanks @wcota\nPR: https://github.com/cpina/github-action-push-to-another-repository/pull/60","tree":{"sha":"1e2b4dbd3e366cecb53d0517d88cdf7903f2d07f","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/1e2b4dbd3e366cecb53d0517d88cdf7903f2d07f"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/6cb505d32f3d501bfc032f2f84b601453fd66c02","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801"}]},{"sha":"f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","node_id":"C_kwDOIalVntoAKGY0YjljOTA1MTZhZDNiZGNmZGM2ZjRmY2Y4YmE5MzdkMGJkNDA0NjU","commit":{"author":{"name":"Carles + Pina Estany","email":"carles@pina.cat","date":"2022-09-21T16:33:41Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2022-09-21T16:33:41Z"},"message":"Add + issue template (#88)","tree":{"sha":"6b806f77bdfc555b26b1be26ff8ba9fa6f025806","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/6b806f77bdfc555b26b1be26ff8ba9fa6f025806"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJjKzzlCRBK7hj4Ov3rIwAAYH4IAItgL6MSj/iYO71XY87d/eZX\nHPQ2jp7DWAXJDEAfwt+p6RdOca02WPscVYPfic1bDzFH6EkWzMjuCvbAVynVFg0S\nd7B6QDjLoLfNGxhhgw+SJOgetp7oGI6AAoDaw2Isa/HP5u4B/jZSXwsyW4zSW1fV\nKR4azEQBe13TT+7ha0rrWh6hcSkPrLeK4C+AaoY1jLhwWWbjwY4Wiu/jjZVcuKtx\nULYP3Vcn5i1vb9snTxEZdr+U3qWchB/8A1SCwR4elyAVVfRsJL2wfvBSJcn2gNum\nuIHnQxeKz7DJ7yDODW7FFRLR/ikj52+UI6vQ/kcWWsGsmKDl3zppGxdinjhSGuA=\n=5nnm\n-----END + PGP SIGNATURE-----\n","payload":"tree 6b806f77bdfc555b26b1be26ff8ba9fa6f025806\nparent + 6cb505d32f3d501bfc032f2f84b601453fd66c02\nauthor Carles Pina Estany + 1663778021 +0100\ncommitter GitHub 1663778021 +0100\n\nAdd + issue template (#88)\n\n"}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"6cb505d32f3d501bfc032f2f84b601453fd66c02","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/6cb505d32f3d501bfc032f2f84b601453fd66c02"}]}],"files":[{"sha":"53f296caba459bbcf1efc141c2fa4f5b2362119a","filename":".github/ISSUE_TEMPLATE/windows_mac_nodocker.md","status":"added","additions":10,"deletions":0,"changes":10,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md?ref=f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","patch":"@@ + -0,0 +1,10 @@\n+---\n+name: Windows/Mac/No Docker\n+about: Questions about + Windows/Mac/No Docker runners\n+title: ''''\n+labels: Windows-Mac-NoDocker\n+assignees: + ''''\n+\n+---\n+\n+Suggestion: see the relevant FAQ entry: https://cpina.github.io/push-to-another-repository-docs/faq.html#could-it-work-on-mac-os-windows-or-no-docker-environments"},{"sha":"83a61f141146a337ee9ce478013be69cc6508df6","filename":"entrypoint.sh","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/entrypoint.sh","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/entrypoint.sh","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/entrypoint.sh?ref=f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","patch":"@@ + -66,7 +66,7 @@ git config --global user.email \"$USER_EMAIL\"\n git config + --global user.name \"$USER_NAME\"\n \n {\n-\tgit clone --single-branch --branch + \"$TARGET_BRANCH\" \"$GIT_CMD_REPOSITORY\" \"$CLONE_DIR\"\n+\tgit clone --single-branch + --depth 1 --branch \"$TARGET_BRANCH\" \"$GIT_CMD_REPOSITORY\" \"$CLONE_DIR\"\n + } || {\n \techo \"::error::Could not clone the destination repository. Command:\"\n + \techo \"::error::git clone --single-branch --branch $TARGET_BRANCH $GIT_CMD_REPOSITORY + $CLONE_DIR\""}]}' + recorded_at: Fri, 11 Nov 2022 12:09:14 GMT +recorded_with: VCR 6.1.0 diff --git a/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_up_to_date_commit_in_a_non_default_branch/returns_the_expected_value.yml b/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_up_to_date_commit_in_a_non_default_branch/returns_the_expected_value.yml new file mode 100644 index 00000000000..bb30b8c20e4 --- /dev/null +++ b/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_up_to_date_commit_in_a_non_default_branch/returns_the_expected_value.yml @@ -0,0 +1,363 @@ +--- +http_interactions: +- request: + method: get + uri: https://github.com/dependabot-fixtures/github-action-push-to-another-repository.git/info/refs?service=git-upload-pack + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - dependabot-core/0.213.0 excon/0.94.0 ruby/3.1.2 (aarch64-linux) (+https://github.com/dependabot/dependabot-core) + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub Babel 2.0 + content-type: + - application/x-git-upload-pack-advertisement + content-security-policy: + - default-src 'none'; sandbox + expires: + - Fri, 01 Jan 1980 00:00:00 GMT + pragma: + - no-cache + cache-control: + - no-cache, max-age=0, must-revalidate + vary: + - Accept-Encoding + x-frame-options: + - DENY + x-github-request-id: + - 0A83:DA5A:18DD7EB:19725C6:636E3B66 + body: + encoding: ASCII-8BIT + string: "001e# service=git-upload-pack\n000001549e487f29582587eeb4837c0552c886bb0644b6b9 + HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since + deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want + allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 + agent=git/github-gfe630fe0f311\n00480d608f8ef76d25976130a63cbe7f8db3945189e2 + refs/heads/composite-1.5.1\n00418aa8ad206e57bae695f9fcdc82c71fa0c01a148e refs/heads/debug-78\n003ec7563454dd4fbe0ea69095188860a62a19658a04 + refs/heads/devel\n004e12e7eb93014f59be062fc72c51708ac1e079a3ac refs/heads/improve-documentation\n003d9e487f29582587eeb4837c0552c886bb0644b6b9 + refs/heads/main\n003f940a2857e598a6392bd336330b07416c1ae8ea1f refs/heads/master\n0045e4d57da60ecdc216eff9885b0330de99b2485dbf + refs/heads/new-template\n0047b5ac509f7b2dc62ec43608515039593fae596689 refs/heads/ssh-deploy-key\n004fc26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter-shell-options\n0078c26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter_shell_option-commit_message-documentation_improvements\n0046e89946750758f3bca4d80d6a1b2b536ce33d4260 + refs/heads/update-readme\n003aea532627535451757c1793514eed939e4683d45a refs/tags/v1\n003c1cfade9aa388629e9cf79a8b8c35ae100efd1f5d + refs/tags/v1.1\n003f637125d2256c6612875516875c0e715afb799614 refs/tags/v1.1^{}\n003c976916018a4108195b74a5663a045141c6708c79 + refs/tags/v1.2\n003c8e9bfb00e6687c3f5cbc272c09b9dd2c27c7720c refs/tags/v1.3\n003c164a872083db0b1bb8cac1628f43e512716dceee + refs/tags/v1.4\n003e483689a71cf9d3a0bbdd79d23e00646ef4124391 refs/tags/v1.4.1\n003eac0bb2c8f9246ed4df2994ad799cef891fc07c62 + refs/tags/v1.4.2\n003cf8f86f8d8fa988b561a263ad18bec22173325f13 refs/tags/v1.5\n003e74596b72fae72d9b7b79e1b2992863c0f595c801 + refs/tags/v1.5.1\n0000" + recorded_at: Fri, 11 Nov 2022 12:09:10 GMT +- request: + method: get + uri: https://github.com/dependabot-fixtures/github-action-push-to-another-repository.git/info/refs?service=git-upload-pack + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - dependabot-core/0.213.0 excon/0.94.0 ruby/3.1.2 (aarch64-linux) (+https://github.com/dependabot/dependabot-core) + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub Babel 2.0 + content-type: + - application/x-git-upload-pack-advertisement + content-security-policy: + - default-src 'none'; sandbox + expires: + - Fri, 01 Jan 1980 00:00:00 GMT + pragma: + - no-cache + cache-control: + - no-cache, max-age=0, must-revalidate + vary: + - Accept-Encoding + x-frame-options: + - DENY + x-github-request-id: + - 0A84:CBE5:191E495:19B4013:636E3B66 + body: + encoding: ASCII-8BIT + string: "001e# service=git-upload-pack\n000001549e487f29582587eeb4837c0552c886bb0644b6b9 + HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since + deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want + allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 + agent=git/github-gfe630fe0f311\n00480d608f8ef76d25976130a63cbe7f8db3945189e2 + refs/heads/composite-1.5.1\n00418aa8ad206e57bae695f9fcdc82c71fa0c01a148e refs/heads/debug-78\n003ec7563454dd4fbe0ea69095188860a62a19658a04 + refs/heads/devel\n004e12e7eb93014f59be062fc72c51708ac1e079a3ac refs/heads/improve-documentation\n003d9e487f29582587eeb4837c0552c886bb0644b6b9 + refs/heads/main\n003f940a2857e598a6392bd336330b07416c1ae8ea1f refs/heads/master\n0045e4d57da60ecdc216eff9885b0330de99b2485dbf + refs/heads/new-template\n0047b5ac509f7b2dc62ec43608515039593fae596689 refs/heads/ssh-deploy-key\n004fc26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter-shell-options\n0078c26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter_shell_option-commit_message-documentation_improvements\n0046e89946750758f3bca4d80d6a1b2b536ce33d4260 + refs/heads/update-readme\n003aea532627535451757c1793514eed939e4683d45a refs/tags/v1\n003c1cfade9aa388629e9cf79a8b8c35ae100efd1f5d + refs/tags/v1.1\n003f637125d2256c6612875516875c0e715afb799614 refs/tags/v1.1^{}\n003c976916018a4108195b74a5663a045141c6708c79 + refs/tags/v1.2\n003c8e9bfb00e6687c3f5cbc272c09b9dd2c27c7720c refs/tags/v1.3\n003c164a872083db0b1bb8cac1628f43e512716dceee + refs/tags/v1.4\n003e483689a71cf9d3a0bbdd79d23e00646ef4124391 refs/tags/v1.4.1\n003eac0bb2c8f9246ed4df2994ad799cef891fc07c62 + refs/tags/v1.4.2\n003cf8f86f8d8fa988b561a263ad18bec22173325f13 refs/tags/v1.5\n003e74596b72fae72d9b7b79e1b2992863c0f595c801 + refs/tags/v1.5.1\n0000" + recorded_at: Fri, 11 Nov 2022 12:09:11 GMT +- request: + method: get + uri: https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04 + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - Octokit Ruby Gem 6.0.0 + accept: + - application/vnd.github.v3+json + content-type: + - application/json + accept-encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub.com + date: + - Fri, 11 Nov 2022 12:09:11 GMT + content-type: + - application/json; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - private, max-age=60, s-maxage=60 + vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + etag: + - W/"2f29c6912f24b22a83a7c403b41d43ddbb973a22dd339c0c855e9fb126ea09d0" + last-modified: + - Mon, 05 Sep 2022 22:33:35 GMT + x-oauth-scopes: + - repo, workflow + x-accepted-oauth-scopes: + - '' + github-authentication-token-expiration: + - 2023-01-20 10:52:26 UTC + x-github-media-type: + - github.v3; format=json + x-ratelimit-limit: + - '5000' + x-ratelimit-remaining: + - '4979' + x-ratelimit-reset: + - '1668171026' + x-ratelimit-used: + - '21' + x-ratelimit-resource: + - core + access-control-expose-headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + access-control-allow-origin: + - "*" + strict-transport-security: + - max-age=31536000; includeSubdomains; preload + x-frame-options: + - deny + x-content-type-options: + - nosniff + x-xss-protection: + - '0' + referrer-policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + content-security-policy: + - default-src 'none' + x-github-request-id: + - 0A86:CB3D:151A846:156879F:636E3B67 + body: + encoding: ASCII-8BIT + string: '{"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04","permalink_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/dependabot-fixtures:74596b7...dependabot-fixtures:c756345","diff_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04.diff","patch_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04.patch","base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"merge_base_commit":{"sha":"483689a71cf9d3a0bbdd79d23e00646ef4124391","node_id":"C_kwDOIalVntoAKDQ4MzY4OWE3MWNmOWQzYTBiYmRkNzlkMjNlMDA2NDZlZjQxMjQzOTE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-01-21T16:42:11Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-01-21T16:42:11Z"},"message":"Use + {} in the variable expansion","tree":{"sha":"bb03798fa87fc6955aab9e8553a0de88c63706c4","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/bb03798fa87fc6955aab9e8553a0de88c63706c4"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/483689a71cf9d3a0bbdd79d23e00646ef4124391","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"084156bc22fb09c236f439a3accd8b11fd3c1ced","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/084156bc22fb09c236f439a3accd8b11fd3c1ced","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/084156bc22fb09c236f439a3accd8b11fd3c1ced"}]},"status":"diverged","ahead_by":5,"behind_by":16,"total_commits":5,"commits":[{"sha":"e8fa5fd15849c4597f4d067a9999ad4311ff1c50","node_id":"C_kwDOIalVntoAKGU4ZmE1ZmQxNTg0OWM0NTk3ZjRkMDY3YTk5OTlhZDQzMTFmZjFjNTA","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:46:46Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:46:46Z"},"message":"Print + git version and attempted fix for\nhttps://github.com/cpina/github-action-push-to-another-repository/issues/64\nrelated + to https://github.blog/2022-04-12-git-security-vulnerability-announced/","tree":{"sha":"87eff833b0541a60b9e97418a0a87b94912470f6","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87eff833b0541a60b9e97418a0a87b94912470f6"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"483689a71cf9d3a0bbdd79d23e00646ef4124391","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/483689a71cf9d3a0bbdd79d23e00646ef4124391"}]},{"sha":"96e7dec17bbeed08477b9edab6c3a573614b829d","node_id":"C_kwDOIalVntoAKDk2ZTdkZWMxN2JiZWVkMDg0NzdiOWVkYWI2YzNhNTczNjE0YjgyOWQ","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:50:50Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:50:50Z"},"message":"Use + --global","tree":{"sha":"26b90173d74a50aca59ff63037c957fbcab8b6cc","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/26b90173d74a50aca59ff63037c957fbcab8b6cc"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/96e7dec17bbeed08477b9edab6c3a573614b829d","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"e8fa5fd15849c4597f4d067a9999ad4311ff1c50","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e8fa5fd15849c4597f4d067a9999ad4311ff1c50"}]},{"sha":"dc609275942afd262557c93583002e43e23049e0","node_id":"C_kwDOIalVntoAKGRjNjA5Mjc1OTQyYWZkMjYyNTU3YzkzNTgzMDAyZTQzZTIzMDQ5ZTA","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T07:29:50Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T07:29:50Z"},"message":"Use + alpine edge repository to install git 2.35.2\n\ngit 2.35.2 has the option + directory.safe needed to fix a recent change","tree":{"sha":"ac8cdb11b57421e8b897740f49a7080dcecd7912","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/ac8cdb11b57421e8b897740f49a7080dcecd7912"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/dc609275942afd262557c93583002e43e23049e0","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/dc609275942afd262557c93583002e43e23049e0","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/dc609275942afd262557c93583002e43e23049e0","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/dc609275942afd262557c93583002e43e23049e0/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"96e7dec17bbeed08477b9edab6c3a573614b829d","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/96e7dec17bbeed08477b9edab6c3a573614b829d"}]},{"sha":"e28934e9fdf3115e5efe4be89e77535042260518","node_id":"C_kwDOIalVntoAKGUyODkzNGU5ZmRmMzExNWU1ZWZlNGJlODllNzc1MzUwNDIyNjA1MTg","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T07:56:03Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T07:56:03Z"},"message":"Add + the specific directory to be safe","tree":{"sha":"98f14872162a6add4618ecb87733e830b8c6bc1b","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/98f14872162a6add4618ecb87733e830b8c6bc1b"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/e28934e9fdf3115e5efe4be89e77535042260518","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e28934e9fdf3115e5efe4be89e77535042260518","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e28934e9fdf3115e5efe4be89e77535042260518","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e28934e9fdf3115e5efe4be89e77535042260518/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"dc609275942afd262557c93583002e43e23049e0","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/dc609275942afd262557c93583002e43e23049e0","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/dc609275942afd262557c93583002e43e23049e0"}]},{"sha":"c7563454dd4fbe0ea69095188860a62a19658a04","node_id":"C_kwDOIalVntoAKGM3NTYzNDU0ZGQ0ZmJlMGVhNjkwOTUxODg4NjBhNjJhMTk2NThhMDQ","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-05-27T07:13:27Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-05-27T07:13:27Z"},"message":"Use + the correct variable on git clone of the destination repository\n\nfixes #68","tree":{"sha":"fb3032051cd2707419eea04bf6f87e4219503e5b","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/fb3032051cd2707419eea04bf6f87e4219503e5b"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/c7563454dd4fbe0ea69095188860a62a19658a04","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/c7563454dd4fbe0ea69095188860a62a19658a04","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/c7563454dd4fbe0ea69095188860a62a19658a04","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/c7563454dd4fbe0ea69095188860a62a19658a04/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"e28934e9fdf3115e5efe4be89e77535042260518","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e28934e9fdf3115e5efe4be89e77535042260518","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e28934e9fdf3115e5efe4be89e77535042260518"}]}],"files":[{"sha":"2b83c727dc66b42632e44db6a99bccb68c437dc1","filename":"Dockerfile","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/c7563454dd4fbe0ea69095188860a62a19658a04/Dockerfile","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/c7563454dd4fbe0ea69095188860a62a19658a04/Dockerfile","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/Dockerfile?ref=c7563454dd4fbe0ea69095188860a62a19658a04","patch":"@@ + -1,6 +1,6 @@\n FROM alpine:latest\n \n-RUN apk add --no-cache git\n+RUN apk + add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main + git\n \n COPY entrypoint.sh /entrypoint.sh\n "},{"sha":"8c60c82572080d9deb57ea66101d8200b006ba79","filename":"entrypoint.sh","status":"modified","additions":11,"deletions":3,"changes":14,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/c7563454dd4fbe0ea69095188860a62a19658a04/entrypoint.sh","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/c7563454dd4fbe0ea69095188860a62a19658a04/entrypoint.sh","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/entrypoint.sh?ref=c7563454dd4fbe0ea69095188860a62a19658a04","patch":"@@ + -28,17 +28,20 @@ fi\n \n CLONE_DIR=$(mktemp -d)\n \n+echo \"[+] Git version\"\n+git + --version\n+\n echo \"[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME\"\n + # Setup git\n git config --global user.email \"$USER_EMAIL\"\n git config + --global user.name \"$USER_NAME\"\n \n {\n-\tgit clone --single-branch --branch + \"$TARGET_BRANCH\" \"https://$USER_NAME:$API_TOKEN_GITHUB@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git\" + \"$CLONE_DIR\"\n+\tgit clone --single-branch --branch \"$TARGET_BRANCH\" \"https://$DESTINATION_REPOSITORY_USERNAME:$API_TOKEN_GITHUB@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git\" + \"$CLONE_DIR\"\n } || {\n \techo \"::error::Could not clone the destination + repository. Command:\"\n-\techo \"::error::git clone --single-branch --branch + $TARGET_BRANCH https://$USER_NAME:the_api_token@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git + $CLONE_DIR\"\n-\techo \"::error::(Note that the USER_NAME and API_TOKEN is + redacted by GitHub)\"\n+\techo \"::error::git clone --single-branch --branch + $TARGET_BRANCH https://$DESTINATION_REPOSITORY_USERNAME:the_api_token@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git + $CLONE_DIR\"\n+\techo \"::error::(Note that USER_NAME and API_TOKEN is redacted + by GitHub)\"\n \techo \"::error::Please verify that the target repository + exist AND that it contains the destination branch name, and is accesible by + the API_TOKEN_GITHUB\"\n \texit 1\n \n@@ -97,6 +100,11 @@ ORIGIN_COMMIT=\"https://$GITHUB_SERVER/$GITHUB_REPOSITORY/commit/$GITHUB_SHA\"\n + COMMIT_MESSAGE=\"${COMMIT_MESSAGE/ORIGIN_COMMIT/$ORIGIN_COMMIT}\"\n COMMIT_MESSAGE=\"${COMMIT_MESSAGE/\\$GITHUB_REF/$GITHUB_REF}\"\n + \n+echo \"[+] Set directory is safe ($CLONE_DIR)\"\n+# Related to https://github.com/cpina/github-action-push-to-another-repository/issues/64 + and https://github.com/cpina/github-action-push-to-another-repository/issues/64\n+# + TODO: review before releasing it as a version\n+git config --global --add + safe.directory \"$CLONE_DIR\"\n+\n echo \"[+] Adding git commit\"\n git add + .\n "}]}' + recorded_at: Fri, 11 Nov 2022 12:09:11 GMT +- request: + method: get + uri: https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04 + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - Octokit Ruby Gem 6.0.0 + accept: + - application/vnd.github.v3+json + content-type: + - application/json + accept-encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub.com + date: + - Fri, 11 Nov 2022 12:09:11 GMT + content-type: + - application/json; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - private, max-age=60, s-maxage=60 + vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + etag: + - W/"2f29c6912f24b22a83a7c403b41d43ddbb973a22dd339c0c855e9fb126ea09d0" + last-modified: + - Mon, 05 Sep 2022 22:33:35 GMT + x-oauth-scopes: + - repo, workflow + x-accepted-oauth-scopes: + - '' + github-authentication-token-expiration: + - 2023-01-20 10:52:26 UTC + x-github-media-type: + - github.v3; format=json + x-ratelimit-limit: + - '5000' + x-ratelimit-remaining: + - '4978' + x-ratelimit-reset: + - '1668171026' + x-ratelimit-used: + - '22' + x-ratelimit-resource: + - core + access-control-expose-headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + access-control-allow-origin: + - "*" + strict-transport-security: + - max-age=31536000; includeSubdomains; preload + x-frame-options: + - deny + x-content-type-options: + - nosniff + x-xss-protection: + - '0' + referrer-policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + content-security-policy: + - default-src 'none' + x-github-request-id: + - 0A87:ECB4:1406F27:14542A0:636E3B67 + body: + encoding: ASCII-8BIT + string: '{"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04","permalink_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/dependabot-fixtures:74596b7...dependabot-fixtures:c756345","diff_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04.diff","patch_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...c7563454dd4fbe0ea69095188860a62a19658a04.patch","base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"merge_base_commit":{"sha":"483689a71cf9d3a0bbdd79d23e00646ef4124391","node_id":"C_kwDOIalVntoAKDQ4MzY4OWE3MWNmOWQzYTBiYmRkNzlkMjNlMDA2NDZlZjQxMjQzOTE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-01-21T16:42:11Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-01-21T16:42:11Z"},"message":"Use + {} in the variable expansion","tree":{"sha":"bb03798fa87fc6955aab9e8553a0de88c63706c4","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/bb03798fa87fc6955aab9e8553a0de88c63706c4"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/483689a71cf9d3a0bbdd79d23e00646ef4124391","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"084156bc22fb09c236f439a3accd8b11fd3c1ced","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/084156bc22fb09c236f439a3accd8b11fd3c1ced","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/084156bc22fb09c236f439a3accd8b11fd3c1ced"}]},"status":"diverged","ahead_by":5,"behind_by":16,"total_commits":5,"commits":[{"sha":"e8fa5fd15849c4597f4d067a9999ad4311ff1c50","node_id":"C_kwDOIalVntoAKGU4ZmE1ZmQxNTg0OWM0NTk3ZjRkMDY3YTk5OTlhZDQzMTFmZjFjNTA","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:46:46Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:46:46Z"},"message":"Print + git version and attempted fix for\nhttps://github.com/cpina/github-action-push-to-another-repository/issues/64\nrelated + to https://github.blog/2022-04-12-git-security-vulnerability-announced/","tree":{"sha":"87eff833b0541a60b9e97418a0a87b94912470f6","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87eff833b0541a60b9e97418a0a87b94912470f6"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"483689a71cf9d3a0bbdd79d23e00646ef4124391","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/483689a71cf9d3a0bbdd79d23e00646ef4124391","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/483689a71cf9d3a0bbdd79d23e00646ef4124391"}]},{"sha":"96e7dec17bbeed08477b9edab6c3a573614b829d","node_id":"C_kwDOIalVntoAKDk2ZTdkZWMxN2JiZWVkMDg0NzdiOWVkYWI2YzNhNTczNjE0YjgyOWQ","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:50:50Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T06:50:50Z"},"message":"Use + --global","tree":{"sha":"26b90173d74a50aca59ff63037c957fbcab8b6cc","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/26b90173d74a50aca59ff63037c957fbcab8b6cc"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/96e7dec17bbeed08477b9edab6c3a573614b829d","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"e8fa5fd15849c4597f4d067a9999ad4311ff1c50","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e8fa5fd15849c4597f4d067a9999ad4311ff1c50","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e8fa5fd15849c4597f4d067a9999ad4311ff1c50"}]},{"sha":"dc609275942afd262557c93583002e43e23049e0","node_id":"C_kwDOIalVntoAKGRjNjA5Mjc1OTQyYWZkMjYyNTU3YzkzNTgzMDAyZTQzZTIzMDQ5ZTA","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T07:29:50Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T07:29:50Z"},"message":"Use + alpine edge repository to install git 2.35.2\n\ngit 2.35.2 has the option + directory.safe needed to fix a recent change","tree":{"sha":"ac8cdb11b57421e8b897740f49a7080dcecd7912","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/ac8cdb11b57421e8b897740f49a7080dcecd7912"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/dc609275942afd262557c93583002e43e23049e0","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/dc609275942afd262557c93583002e43e23049e0","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/dc609275942afd262557c93583002e43e23049e0","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/dc609275942afd262557c93583002e43e23049e0/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"96e7dec17bbeed08477b9edab6c3a573614b829d","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/96e7dec17bbeed08477b9edab6c3a573614b829d","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/96e7dec17bbeed08477b9edab6c3a573614b829d"}]},{"sha":"e28934e9fdf3115e5efe4be89e77535042260518","node_id":"C_kwDOIalVntoAKGUyODkzNGU5ZmRmMzExNWU1ZWZlNGJlODllNzc1MzUwNDIyNjA1MTg","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T07:56:03Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-04-13T07:56:03Z"},"message":"Add + the specific directory to be safe","tree":{"sha":"98f14872162a6add4618ecb87733e830b8c6bc1b","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/98f14872162a6add4618ecb87733e830b8c6bc1b"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/e28934e9fdf3115e5efe4be89e77535042260518","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e28934e9fdf3115e5efe4be89e77535042260518","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e28934e9fdf3115e5efe4be89e77535042260518","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e28934e9fdf3115e5efe4be89e77535042260518/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"dc609275942afd262557c93583002e43e23049e0","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/dc609275942afd262557c93583002e43e23049e0","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/dc609275942afd262557c93583002e43e23049e0"}]},{"sha":"c7563454dd4fbe0ea69095188860a62a19658a04","node_id":"C_kwDOIalVntoAKGM3NTYzNDU0ZGQ0ZmJlMGVhNjkwOTUxODg4NjBhNjJhMTk2NThhMDQ","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-05-27T07:13:27Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-05-27T07:13:27Z"},"message":"Use + the correct variable on git clone of the destination repository\n\nfixes #68","tree":{"sha":"fb3032051cd2707419eea04bf6f87e4219503e5b","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/fb3032051cd2707419eea04bf6f87e4219503e5b"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/c7563454dd4fbe0ea69095188860a62a19658a04","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/c7563454dd4fbe0ea69095188860a62a19658a04","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/c7563454dd4fbe0ea69095188860a62a19658a04","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/c7563454dd4fbe0ea69095188860a62a19658a04/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"e28934e9fdf3115e5efe4be89e77535042260518","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/e28934e9fdf3115e5efe4be89e77535042260518","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/e28934e9fdf3115e5efe4be89e77535042260518"}]}],"files":[{"sha":"2b83c727dc66b42632e44db6a99bccb68c437dc1","filename":"Dockerfile","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/c7563454dd4fbe0ea69095188860a62a19658a04/Dockerfile","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/c7563454dd4fbe0ea69095188860a62a19658a04/Dockerfile","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/Dockerfile?ref=c7563454dd4fbe0ea69095188860a62a19658a04","patch":"@@ + -1,6 +1,6 @@\n FROM alpine:latest\n \n-RUN apk add --no-cache git\n+RUN apk + add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main + git\n \n COPY entrypoint.sh /entrypoint.sh\n "},{"sha":"8c60c82572080d9deb57ea66101d8200b006ba79","filename":"entrypoint.sh","status":"modified","additions":11,"deletions":3,"changes":14,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/c7563454dd4fbe0ea69095188860a62a19658a04/entrypoint.sh","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/c7563454dd4fbe0ea69095188860a62a19658a04/entrypoint.sh","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/entrypoint.sh?ref=c7563454dd4fbe0ea69095188860a62a19658a04","patch":"@@ + -28,17 +28,20 @@ fi\n \n CLONE_DIR=$(mktemp -d)\n \n+echo \"[+] Git version\"\n+git + --version\n+\n echo \"[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME\"\n + # Setup git\n git config --global user.email \"$USER_EMAIL\"\n git config + --global user.name \"$USER_NAME\"\n \n {\n-\tgit clone --single-branch --branch + \"$TARGET_BRANCH\" \"https://$USER_NAME:$API_TOKEN_GITHUB@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git\" + \"$CLONE_DIR\"\n+\tgit clone --single-branch --branch \"$TARGET_BRANCH\" \"https://$DESTINATION_REPOSITORY_USERNAME:$API_TOKEN_GITHUB@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git\" + \"$CLONE_DIR\"\n } || {\n \techo \"::error::Could not clone the destination + repository. Command:\"\n-\techo \"::error::git clone --single-branch --branch + $TARGET_BRANCH https://$USER_NAME:the_api_token@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git + $CLONE_DIR\"\n-\techo \"::error::(Note that the USER_NAME and API_TOKEN is + redacted by GitHub)\"\n+\techo \"::error::git clone --single-branch --branch + $TARGET_BRANCH https://$DESTINATION_REPOSITORY_USERNAME:the_api_token@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git + $CLONE_DIR\"\n+\techo \"::error::(Note that USER_NAME and API_TOKEN is redacted + by GitHub)\"\n \techo \"::error::Please verify that the target repository + exist AND that it contains the destination branch name, and is accesible by + the API_TOKEN_GITHUB\"\n \texit 1\n \n@@ -97,6 +100,11 @@ ORIGIN_COMMIT=\"https://$GITHUB_SERVER/$GITHUB_REPOSITORY/commit/$GITHUB_SHA\"\n + COMMIT_MESSAGE=\"${COMMIT_MESSAGE/ORIGIN_COMMIT/$ORIGIN_COMMIT}\"\n COMMIT_MESSAGE=\"${COMMIT_MESSAGE/\\$GITHUB_REF/$GITHUB_REF}\"\n + \n+echo \"[+] Set directory is safe ($CLONE_DIR)\"\n+# Related to https://github.com/cpina/github-action-push-to-another-repository/issues/64 + and https://github.com/cpina/github-action-push-to-another-repository/issues/64\n+# + TODO: review before releasing it as a version\n+git config --global --add + safe.directory \"$CLONE_DIR\"\n+\n echo \"[+] Adding git commit\"\n git add + .\n "}]}' + recorded_at: Fri, 11 Nov 2022 12:09:12 GMT +recorded_with: VCR 6.1.0 diff --git a/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_up_to_date_commit_in_the_default_branch/returns_the_expected_value.yml b/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_up_to_date_commit_in_the_default_branch/returns_the_expected_value.yml new file mode 100644 index 00000000000..048f16a275f --- /dev/null +++ b/github_actions/spec/fixtures/vcr_cassettes/Dependabot_GithubActions_UpdateChecker/_latest_version/given_a_realworld_repository/when_pinned_to_an_up_to_date_commit_in_the_default_branch/returns_the_expected_value.yml @@ -0,0 +1,345 @@ +--- +http_interactions: +- request: + method: get + uri: https://github.com/dependabot-fixtures/github-action-push-to-another-repository.git/info/refs?service=git-upload-pack + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - dependabot-core/0.213.0 excon/0.94.0 ruby/3.1.2 (aarch64-linux) (+https://github.com/dependabot/dependabot-core) + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub Babel 2.0 + content-type: + - application/x-git-upload-pack-advertisement + content-security-policy: + - default-src 'none'; sandbox + expires: + - Fri, 01 Jan 1980 00:00:00 GMT + pragma: + - no-cache + cache-control: + - no-cache, max-age=0, must-revalidate + vary: + - Accept-Encoding + x-frame-options: + - DENY + x-github-request-id: + - 0A96:79A2:191A8FB:19B1CD4:636E3B6E + body: + encoding: ASCII-8BIT + string: "001e# service=git-upload-pack\n000001549e487f29582587eeb4837c0552c886bb0644b6b9 + HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since + deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want + allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 + agent=git/github-gfe630fe0f311\n00480d608f8ef76d25976130a63cbe7f8db3945189e2 + refs/heads/composite-1.5.1\n00418aa8ad206e57bae695f9fcdc82c71fa0c01a148e refs/heads/debug-78\n003ec7563454dd4fbe0ea69095188860a62a19658a04 + refs/heads/devel\n004e12e7eb93014f59be062fc72c51708ac1e079a3ac refs/heads/improve-documentation\n003d9e487f29582587eeb4837c0552c886bb0644b6b9 + refs/heads/main\n003f940a2857e598a6392bd336330b07416c1ae8ea1f refs/heads/master\n0045e4d57da60ecdc216eff9885b0330de99b2485dbf + refs/heads/new-template\n0047b5ac509f7b2dc62ec43608515039593fae596689 refs/heads/ssh-deploy-key\n004fc26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter-shell-options\n0078c26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter_shell_option-commit_message-documentation_improvements\n0046e89946750758f3bca4d80d6a1b2b536ce33d4260 + refs/heads/update-readme\n003aea532627535451757c1793514eed939e4683d45a refs/tags/v1\n003c1cfade9aa388629e9cf79a8b8c35ae100efd1f5d + refs/tags/v1.1\n003f637125d2256c6612875516875c0e715afb799614 refs/tags/v1.1^{}\n003c976916018a4108195b74a5663a045141c6708c79 + refs/tags/v1.2\n003c8e9bfb00e6687c3f5cbc272c09b9dd2c27c7720c refs/tags/v1.3\n003c164a872083db0b1bb8cac1628f43e512716dceee + refs/tags/v1.4\n003e483689a71cf9d3a0bbdd79d23e00646ef4124391 refs/tags/v1.4.1\n003eac0bb2c8f9246ed4df2994ad799cef891fc07c62 + refs/tags/v1.4.2\n003cf8f86f8d8fa988b561a263ad18bec22173325f13 refs/tags/v1.5\n003e74596b72fae72d9b7b79e1b2992863c0f595c801 + refs/tags/v1.5.1\n0000" + recorded_at: Fri, 11 Nov 2022 12:09:18 GMT +- request: + method: get + uri: https://github.com/dependabot-fixtures/github-action-push-to-another-repository.git/info/refs?service=git-upload-pack + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - dependabot-core/0.213.0 excon/0.94.0 ruby/3.1.2 (aarch64-linux) (+https://github.com/dependabot/dependabot-core) + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub Babel 2.0 + content-type: + - application/x-git-upload-pack-advertisement + content-security-policy: + - default-src 'none'; sandbox + expires: + - Fri, 01 Jan 1980 00:00:00 GMT + pragma: + - no-cache + cache-control: + - no-cache, max-age=0, must-revalidate + vary: + - Accept-Encoding + x-frame-options: + - DENY + x-github-request-id: + - 0A97:8AC4:197581A:1A0C3E8:636E3B6E + body: + encoding: ASCII-8BIT + string: "001e# service=git-upload-pack\n000001549e487f29582587eeb4837c0552c886bb0644b6b9 + HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since + deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want + allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 + agent=git/github-gfe630fe0f311\n00480d608f8ef76d25976130a63cbe7f8db3945189e2 + refs/heads/composite-1.5.1\n00418aa8ad206e57bae695f9fcdc82c71fa0c01a148e refs/heads/debug-78\n003ec7563454dd4fbe0ea69095188860a62a19658a04 + refs/heads/devel\n004e12e7eb93014f59be062fc72c51708ac1e079a3ac refs/heads/improve-documentation\n003d9e487f29582587eeb4837c0552c886bb0644b6b9 + refs/heads/main\n003f940a2857e598a6392bd336330b07416c1ae8ea1f refs/heads/master\n0045e4d57da60ecdc216eff9885b0330de99b2485dbf + refs/heads/new-template\n0047b5ac509f7b2dc62ec43608515039593fae596689 refs/heads/ssh-deploy-key\n004fc26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter-shell-options\n0078c26a144ee1d285425915bd6151f7d883999cd9e2 + refs/heads/stricter_shell_option-commit_message-documentation_improvements\n0046e89946750758f3bca4d80d6a1b2b536ce33d4260 + refs/heads/update-readme\n003aea532627535451757c1793514eed939e4683d45a refs/tags/v1\n003c1cfade9aa388629e9cf79a8b8c35ae100efd1f5d + refs/tags/v1.1\n003f637125d2256c6612875516875c0e715afb799614 refs/tags/v1.1^{}\n003c976916018a4108195b74a5663a045141c6708c79 + refs/tags/v1.2\n003c8e9bfb00e6687c3f5cbc272c09b9dd2c27c7720c refs/tags/v1.3\n003c164a872083db0b1bb8cac1628f43e512716dceee + refs/tags/v1.4\n003e483689a71cf9d3a0bbdd79d23e00646ef4124391 refs/tags/v1.4.1\n003eac0bb2c8f9246ed4df2994ad799cef891fc07c62 + refs/tags/v1.4.2\n003cf8f86f8d8fa988b561a263ad18bec22173325f13 refs/tags/v1.5\n003e74596b72fae72d9b7b79e1b2992863c0f595c801 + refs/tags/v1.5.1\n0000" + recorded_at: Fri, 11 Nov 2022 12:09:18 GMT +- request: + method: get + uri: https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9 + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - Octokit Ruby Gem 6.0.0 + accept: + - application/vnd.github.v3+json + content-type: + - application/json + accept-encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub.com + date: + - Fri, 11 Nov 2022 12:09:18 GMT + content-type: + - application/json; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - private, max-age=60, s-maxage=60 + vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + etag: + - W/"79ed61286c943ce065a64fa3cf244038107b6adfefb434ed2e8550ea418fa8ff" + last-modified: + - Mon, 26 Sep 2022 22:44:58 GMT + x-oauth-scopes: + - repo, workflow + x-accepted-oauth-scopes: + - '' + github-authentication-token-expiration: + - 2023-01-20 10:52:26 UTC + x-github-media-type: + - github.v3; format=json + x-ratelimit-limit: + - '5000' + x-ratelimit-remaining: + - '4973' + x-ratelimit-reset: + - '1668171026' + x-ratelimit-used: + - '27' + x-ratelimit-resource: + - core + access-control-expose-headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + access-control-allow-origin: + - "*" + strict-transport-security: + - max-age=31536000; includeSubdomains; preload + x-frame-options: + - deny + x-content-type-options: + - nosniff + x-xss-protection: + - '0' + referrer-policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + content-security-policy: + - default-src 'none' + x-github-request-id: + - 0A98:CB3D:151C8AE:156A878:636E3B6E + body: + encoding: ASCII-8BIT + string: '{"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9","permalink_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/dependabot-fixtures:74596b7...dependabot-fixtures:9e487f2","diff_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9.diff","patch_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9.patch","base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"merge_base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"status":"ahead","ahead_by":3,"behind_by":0,"total_commits":3,"commits":[{"sha":"6cb505d32f3d501bfc032f2f84b601453fd66c02","node_id":"C_kwDOIalVntoAKDZjYjUwNWQzMmYzZDUwMWJmYzAzMmYyZjg0YjYwMTQ1M2ZkNjZjMDI","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T23:18:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T23:18:35Z"},"message":"Since + we need to download only the last snapshot, it is not necessary to download + the full commits history.\n\nThanks @wcota\nPR: https://github.com/cpina/github-action-push-to-another-repository/pull/60","tree":{"sha":"1e2b4dbd3e366cecb53d0517d88cdf7903f2d07f","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/1e2b4dbd3e366cecb53d0517d88cdf7903f2d07f"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/6cb505d32f3d501bfc032f2f84b601453fd66c02","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801"}]},{"sha":"f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","node_id":"C_kwDOIalVntoAKGY0YjljOTA1MTZhZDNiZGNmZGM2ZjRmY2Y4YmE5MzdkMGJkNDA0NjU","commit":{"author":{"name":"Carles + Pina Estany","email":"carles@pina.cat","date":"2022-09-21T16:33:41Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2022-09-21T16:33:41Z"},"message":"Add + issue template (#88)","tree":{"sha":"6b806f77bdfc555b26b1be26ff8ba9fa6f025806","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/6b806f77bdfc555b26b1be26ff8ba9fa6f025806"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJjKzzlCRBK7hj4Ov3rIwAAYH4IAItgL6MSj/iYO71XY87d/eZX\nHPQ2jp7DWAXJDEAfwt+p6RdOca02WPscVYPfic1bDzFH6EkWzMjuCvbAVynVFg0S\nd7B6QDjLoLfNGxhhgw+SJOgetp7oGI6AAoDaw2Isa/HP5u4B/jZSXwsyW4zSW1fV\nKR4azEQBe13TT+7ha0rrWh6hcSkPrLeK4C+AaoY1jLhwWWbjwY4Wiu/jjZVcuKtx\nULYP3Vcn5i1vb9snTxEZdr+U3qWchB/8A1SCwR4elyAVVfRsJL2wfvBSJcn2gNum\nuIHnQxeKz7DJ7yDODW7FFRLR/ikj52+UI6vQ/kcWWsGsmKDl3zppGxdinjhSGuA=\n=5nnm\n-----END + PGP SIGNATURE-----\n","payload":"tree 6b806f77bdfc555b26b1be26ff8ba9fa6f025806\nparent + 6cb505d32f3d501bfc032f2f84b601453fd66c02\nauthor Carles Pina Estany + 1663778021 +0100\ncommitter GitHub 1663778021 +0100\n\nAdd + issue template (#88)\n\n"}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"6cb505d32f3d501bfc032f2f84b601453fd66c02","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/6cb505d32f3d501bfc032f2f84b601453fd66c02"}]},{"sha":"9e487f29582587eeb4837c0552c886bb0644b6b9","node_id":"C_kwDOIalVntoAKDllNDg3ZjI5NTgyNTg3ZWViNDgzN2MwNTUyYzg4NmJiMDY0NGI2Yjk","commit":{"author":{"name":"Carles + Pina Estany","email":"carles@pina.cat","date":"2022-09-26T22:44:58Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2022-09-26T22:44:58Z"},"message":"Update + README.md: add links to the documentation (#89)","tree":{"sha":"4a50b0f73a60525c9a3ff25981ae5ae3502c9948","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/4a50b0f73a60525c9a3ff25981ae5ae3502c9948"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/9e487f29582587eeb4837c0552c886bb0644b6b9","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJjMitqCRBK7hj4Ov3rIwAAZMIIAFz/mOfopFJ5lUeCSc4MflgC\ns53vPasUleVYzlCj7LgqCBRAZBz+d2+cnmHEW7dXZmyg8TvXdIYWYPnlncUnizvu\nv0lq49Qn6LR0dd096AX1e/AoIIIaor7/zO+I/nH+U4fiBRDCGSgZpxWiH/UAtoTP\nEllf8cboASDLXpFWAkkCGjm+lm7XQjk0oC90eJqevCYBGPQpDb7zEpdsgbctrh5N\nGl4IZUqSuu2RQehK2irWUOQrniPBVogYxAMpL+DKisLcuFiBOMn/Nb6X7BPa+6f6\nFw4dx+nkfKo3V/GFKLsTsANuu5muB/rvfi9+VVgfOuONqrNQZImPuXllkIoDq30=\n=8zaX\n-----END + PGP SIGNATURE-----\n","payload":"tree 4a50b0f73a60525c9a3ff25981ae5ae3502c9948\nparent + f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465\nauthor Carles Pina Estany + 1664232298 +0100\ncommitter GitHub 1664232298 +0100\n\nUpdate + README.md: add links to the documentation (#89)\n\n"}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9e487f29582587eeb4837c0552c886bb0644b6b9","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9e487f29582587eeb4837c0552c886bb0644b6b9","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9e487f29582587eeb4837c0552c886bb0644b6b9/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465"}]}],"files":[{"sha":"53f296caba459bbcf1efc141c2fa4f5b2362119a","filename":".github/ISSUE_TEMPLATE/windows_mac_nodocker.md","status":"added","additions":10,"deletions":0,"changes":10,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/9e487f29582587eeb4837c0552c886bb0644b6b9/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/9e487f29582587eeb4837c0552c886bb0644b6b9/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md?ref=9e487f29582587eeb4837c0552c886bb0644b6b9","patch":"@@ + -0,0 +1,10 @@\n+---\n+name: Windows/Mac/No Docker\n+about: Questions about + Windows/Mac/No Docker runners\n+title: ''''\n+labels: Windows-Mac-NoDocker\n+assignees: + ''''\n+\n+---\n+\n+Suggestion: see the relevant FAQ entry: https://cpina.github.io/push-to-another-repository-docs/faq.html#could-it-work-on-mac-os-windows-or-no-docker-environments"},{"sha":"989463ac4336cf0f0572f5ecf73f4275fef060bd","filename":"README.md","status":"modified","additions":2,"deletions":3,"changes":5,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/9e487f29582587eeb4837c0552c886bb0644b6b9/README.md","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/9e487f29582587eeb4837c0552c886bb0644b6b9/README.md","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/README.md?ref=9e487f29582587eeb4837c0552c886bb0644b6b9","patch":"@@ + -1,6 +1,5 @@\n # github-action-push-to-another-repository\n \n-See the documentation + in https://cpina.github.io/push-to-another-repository-docs/\n-\n-Includes + example, FAQ, troubleshooting, etc.\n+See the extensive documentation in https://cpina.github.io/push-to-another-repository-docs/ + (includes examples, FAQ, troubleshooting, etc.).\n \n+GitHub repository of + the documentation: https://github.com/cpina/push-to-another-repository-docs"},{"sha":"83a61f141146a337ee9ce478013be69cc6508df6","filename":"entrypoint.sh","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/9e487f29582587eeb4837c0552c886bb0644b6b9/entrypoint.sh","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/9e487f29582587eeb4837c0552c886bb0644b6b9/entrypoint.sh","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/entrypoint.sh?ref=9e487f29582587eeb4837c0552c886bb0644b6b9","patch":"@@ + -66,7 +66,7 @@ git config --global user.email \"$USER_EMAIL\"\n git config + --global user.name \"$USER_NAME\"\n \n {\n-\tgit clone --single-branch --branch + \"$TARGET_BRANCH\" \"$GIT_CMD_REPOSITORY\" \"$CLONE_DIR\"\n+\tgit clone --single-branch + --depth 1 --branch \"$TARGET_BRANCH\" \"$GIT_CMD_REPOSITORY\" \"$CLONE_DIR\"\n + } || {\n \techo \"::error::Could not clone the destination repository. Command:\"\n + \techo \"::error::git clone --single-branch --branch $TARGET_BRANCH $GIT_CMD_REPOSITORY + $CLONE_DIR\""}]}' + recorded_at: Fri, 11 Nov 2022 12:09:19 GMT +- request: + method: get + uri: https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9 + body: + encoding: US-ASCII + string: '' + headers: + user-agent: + - Octokit Ruby Gem 6.0.0 + accept: + - application/vnd.github.v3+json + content-type: + - application/json + accept-encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + server: + - GitHub.com + date: + - Fri, 11 Nov 2022 12:09:19 GMT + content-type: + - application/json; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - private, max-age=60, s-maxage=60 + vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + etag: + - W/"79ed61286c943ce065a64fa3cf244038107b6adfefb434ed2e8550ea418fa8ff" + last-modified: + - Mon, 26 Sep 2022 22:44:58 GMT + x-oauth-scopes: + - repo, workflow + x-accepted-oauth-scopes: + - '' + github-authentication-token-expiration: + - 2023-01-20 10:52:26 UTC + x-github-media-type: + - github.v3; format=json + x-ratelimit-limit: + - '5000' + x-ratelimit-remaining: + - '4972' + x-ratelimit-reset: + - '1668171026' + x-ratelimit-used: + - '28' + x-ratelimit-resource: + - core + access-control-expose-headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + access-control-allow-origin: + - "*" + strict-transport-security: + - max-age=31536000; includeSubdomains; preload + x-frame-options: + - deny + x-content-type-options: + - nosniff + x-xss-protection: + - '0' + referrer-policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + content-security-policy: + - default-src 'none' + x-github-request-id: + - 0A99:0CD4:D41EAA:D7990A:636E3B6F + body: + encoding: ASCII-8BIT + string: '{"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9","permalink_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/dependabot-fixtures:74596b7...dependabot-fixtures:9e487f2","diff_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9.diff","patch_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/compare/v1.5.1...9e487f29582587eeb4837c0552c886bb0644b6b9.patch","base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"merge_base_commit":{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","node_id":"C_kwDOIalVntoAKDc0NTk2YjcyZmFlNzJkOWI3Yjc5ZTFiMjk5Mjg2M2MwZjU5NWM4MDE","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T22:33:35Z"},"message":"Link + to the formatted documentation","tree":{"sha":"87b8f33c14942dbc9b96cb13fc44d65d756077fe","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/87b8f33c14942dbc9b96cb13fc44d65d756077fe"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"9391058a7de9f4d981ee636ea01f1d40088aea32","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9391058a7de9f4d981ee636ea01f1d40088aea32","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9391058a7de9f4d981ee636ea01f1d40088aea32"}]},"status":"ahead","ahead_by":3,"behind_by":0,"total_commits":3,"commits":[{"sha":"6cb505d32f3d501bfc032f2f84b601453fd66c02","node_id":"C_kwDOIalVntoAKDZjYjUwNWQzMmYzZDUwMWJmYzAzMmYyZjg0YjYwMTQ1M2ZkNjZjMDI","commit":{"author":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T23:18:35Z"},"committer":{"name":"Carles + Pina i Estany","email":"carles@pina.cat","date":"2022-09-05T23:18:35Z"},"message":"Since + we need to download only the last snapshot, it is not necessary to download + the full commits history.\n\nThanks @wcota\nPR: https://github.com/cpina/github-action-push-to-another-repository/pull/60","tree":{"sha":"1e2b4dbd3e366cecb53d0517d88cdf7903f2d07f","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/1e2b4dbd3e366cecb53d0517d88cdf7903f2d07f"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/6cb505d32f3d501bfc032f2f84b601453fd66c02","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"parents":[{"sha":"74596b72fae72d9b7b79e1b2992863c0f595c801","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/74596b72fae72d9b7b79e1b2992863c0f595c801","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/74596b72fae72d9b7b79e1b2992863c0f595c801"}]},{"sha":"f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","node_id":"C_kwDOIalVntoAKGY0YjljOTA1MTZhZDNiZGNmZGM2ZjRmY2Y4YmE5MzdkMGJkNDA0NjU","commit":{"author":{"name":"Carles + Pina Estany","email":"carles@pina.cat","date":"2022-09-21T16:33:41Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2022-09-21T16:33:41Z"},"message":"Add + issue template (#88)","tree":{"sha":"6b806f77bdfc555b26b1be26ff8ba9fa6f025806","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/6b806f77bdfc555b26b1be26ff8ba9fa6f025806"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJjKzzlCRBK7hj4Ov3rIwAAYH4IAItgL6MSj/iYO71XY87d/eZX\nHPQ2jp7DWAXJDEAfwt+p6RdOca02WPscVYPfic1bDzFH6EkWzMjuCvbAVynVFg0S\nd7B6QDjLoLfNGxhhgw+SJOgetp7oGI6AAoDaw2Isa/HP5u4B/jZSXwsyW4zSW1fV\nKR4azEQBe13TT+7ha0rrWh6hcSkPrLeK4C+AaoY1jLhwWWbjwY4Wiu/jjZVcuKtx\nULYP3Vcn5i1vb9snTxEZdr+U3qWchB/8A1SCwR4elyAVVfRsJL2wfvBSJcn2gNum\nuIHnQxeKz7DJ7yDODW7FFRLR/ikj52+UI6vQ/kcWWsGsmKDl3zppGxdinjhSGuA=\n=5nnm\n-----END + PGP SIGNATURE-----\n","payload":"tree 6b806f77bdfc555b26b1be26ff8ba9fa6f025806\nparent + 6cb505d32f3d501bfc032f2f84b601453fd66c02\nauthor Carles Pina Estany + 1663778021 +0100\ncommitter GitHub 1663778021 +0100\n\nAdd + issue template (#88)\n\n"}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"6cb505d32f3d501bfc032f2f84b601453fd66c02","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/6cb505d32f3d501bfc032f2f84b601453fd66c02","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/6cb505d32f3d501bfc032f2f84b601453fd66c02"}]},{"sha":"9e487f29582587eeb4837c0552c886bb0644b6b9","node_id":"C_kwDOIalVntoAKDllNDg3ZjI5NTgyNTg3ZWViNDgzN2MwNTUyYzg4NmJiMDY0NGI2Yjk","commit":{"author":{"name":"Carles + Pina Estany","email":"carles@pina.cat","date":"2022-09-26T22:44:58Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2022-09-26T22:44:58Z"},"message":"Update + README.md: add links to the documentation (#89)","tree":{"sha":"4a50b0f73a60525c9a3ff25981ae5ae3502c9948","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/trees/4a50b0f73a60525c9a3ff25981ae5ae3502c9948"},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/git/commits/9e487f29582587eeb4837c0552c886bb0644b6b9","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJjMitqCRBK7hj4Ov3rIwAAZMIIAFz/mOfopFJ5lUeCSc4MflgC\ns53vPasUleVYzlCj7LgqCBRAZBz+d2+cnmHEW7dXZmyg8TvXdIYWYPnlncUnizvu\nv0lq49Qn6LR0dd096AX1e/AoIIIaor7/zO+I/nH+U4fiBRDCGSgZpxWiH/UAtoTP\nEllf8cboASDLXpFWAkkCGjm+lm7XQjk0oC90eJqevCYBGPQpDb7zEpdsgbctrh5N\nGl4IZUqSuu2RQehK2irWUOQrniPBVogYxAMpL+DKisLcuFiBOMn/Nb6X7BPa+6f6\nFw4dx+nkfKo3V/GFKLsTsANuu5muB/rvfi9+VVgfOuONqrNQZImPuXllkIoDq30=\n=8zaX\n-----END + PGP SIGNATURE-----\n","payload":"tree 4a50b0f73a60525c9a3ff25981ae5ae3502c9948\nparent + f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465\nauthor Carles Pina Estany + 1664232298 +0100\ncommitter GitHub 1664232298 +0100\n\nUpdate + README.md: add links to the documentation (#89)\n\n"}},"url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9e487f29582587eeb4837c0552c886bb0644b6b9","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/9e487f29582587eeb4837c0552c886bb0644b6b9","comments_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/9e487f29582587eeb4837c0552c886bb0644b6b9/comments","author":{"login":"cpina","id":489071,"node_id":"MDQ6VXNlcjQ4OTA3MQ==","avatar_url":"https://avatars.githubusercontent.com/u/489071?v=4","gravatar_id":"","url":"https://api.github.com/users/cpina","html_url":"https://github.com/cpina","followers_url":"https://api.github.com/users/cpina/followers","following_url":"https://api.github.com/users/cpina/following{/other_user}","gists_url":"https://api.github.com/users/cpina/gists{/gist_id}","starred_url":"https://api.github.com/users/cpina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpina/subscriptions","organizations_url":"https://api.github.com/users/cpina/orgs","repos_url":"https://api.github.com/users/cpina/repos","events_url":"https://api.github.com/users/cpina/events{/privacy}","received_events_url":"https://api.github.com/users/cpina/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/commits/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465","html_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/commit/f4b9c90516ad3bdcfdc6f4fcf8ba937d0bd40465"}]}],"files":[{"sha":"53f296caba459bbcf1efc141c2fa4f5b2362119a","filename":".github/ISSUE_TEMPLATE/windows_mac_nodocker.md","status":"added","additions":10,"deletions":0,"changes":10,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/9e487f29582587eeb4837c0552c886bb0644b6b9/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/9e487f29582587eeb4837c0552c886bb0644b6b9/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/.github%2FISSUE_TEMPLATE%2Fwindows_mac_nodocker.md?ref=9e487f29582587eeb4837c0552c886bb0644b6b9","patch":"@@ + -0,0 +1,10 @@\n+---\n+name: Windows/Mac/No Docker\n+about: Questions about + Windows/Mac/No Docker runners\n+title: ''''\n+labels: Windows-Mac-NoDocker\n+assignees: + ''''\n+\n+---\n+\n+Suggestion: see the relevant FAQ entry: https://cpina.github.io/push-to-another-repository-docs/faq.html#could-it-work-on-mac-os-windows-or-no-docker-environments"},{"sha":"989463ac4336cf0f0572f5ecf73f4275fef060bd","filename":"README.md","status":"modified","additions":2,"deletions":3,"changes":5,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/9e487f29582587eeb4837c0552c886bb0644b6b9/README.md","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/9e487f29582587eeb4837c0552c886bb0644b6b9/README.md","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/README.md?ref=9e487f29582587eeb4837c0552c886bb0644b6b9","patch":"@@ + -1,6 +1,5 @@\n # github-action-push-to-another-repository\n \n-See the documentation + in https://cpina.github.io/push-to-another-repository-docs/\n-\n-Includes + example, FAQ, troubleshooting, etc.\n+See the extensive documentation in https://cpina.github.io/push-to-another-repository-docs/ + (includes examples, FAQ, troubleshooting, etc.).\n \n+GitHub repository of + the documentation: https://github.com/cpina/push-to-another-repository-docs"},{"sha":"83a61f141146a337ee9ce478013be69cc6508df6","filename":"entrypoint.sh","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/blob/9e487f29582587eeb4837c0552c886bb0644b6b9/entrypoint.sh","raw_url":"https://github.com/dependabot-fixtures/github-action-push-to-another-repository/raw/9e487f29582587eeb4837c0552c886bb0644b6b9/entrypoint.sh","contents_url":"https://api.github.com/repos/dependabot-fixtures/github-action-push-to-another-repository/contents/entrypoint.sh?ref=9e487f29582587eeb4837c0552c886bb0644b6b9","patch":"@@ + -66,7 +66,7 @@ git config --global user.email \"$USER_EMAIL\"\n git config + --global user.name \"$USER_NAME\"\n \n {\n-\tgit clone --single-branch --branch + \"$TARGET_BRANCH\" \"$GIT_CMD_REPOSITORY\" \"$CLONE_DIR\"\n+\tgit clone --single-branch + --depth 1 --branch \"$TARGET_BRANCH\" \"$GIT_CMD_REPOSITORY\" \"$CLONE_DIR\"\n + } || {\n \techo \"::error::Could not clone the destination repository. Command:\"\n + \techo \"::error::git clone --single-branch --branch $TARGET_BRANCH $GIT_CMD_REPOSITORY + $CLONE_DIR\""}]}' + recorded_at: Fri, 11 Nov 2022 12:09:19 GMT +recorded_with: VCR 6.1.0