Sha256: b29612dfd1b0fbffe2a18b41e2bfef06735d29b9a7f37e3a4e5168f8db65292c
Contents?: true
Size: 494 Bytes
Versions: 11
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true module Git module Lint module Commits module Hosts # Provides GitHub Action feature branch information. class GitHubAction include Git::Lint::Import[:git] def call = git.commits "origin/#{branch_default}..#{branch_name}" private def branch_default = git.branch_default.value_or nil def branch_name = "origin/#{git.branch_name.value_or nil}" end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems