Sha256: f09cb9a0722312d9d08ff48080e819de7ea25a85dc0ffa18e7d9bf85ee03b31e
Contents?: true
Size: 586 Bytes
Versions: 8
Compression:
Stored size: 586 Bytes
Contents
# frozen_string_literal: true module Git module Lint module Commits module Systems # Provides GitHub Action build environment feature branch information. class GitHubAction def initialize container: Container @container = container end def call = repository.commits("origin/#{repository.branch_default}..#{name}") private attr_reader :container def name = "origin/#{repository.branch_name}" def repository = container[__method__] end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems