Sha256: e1077be7f90ca722d4af5b3943fc439738e627599758297eba3d602acc0c3a5a
Contents?: true
Size: 515 Bytes
Versions: 12
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true module Git module Lint module Commits module Systems # Provides GitHub Action build environment 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
12 entries across 12 versions & 1 rubygems