Sha256: 735544f5705f7c22b5dfb430e66c0389397ae47380941393a1ccade5722a3568
Contents?: true
Size: 563 Bytes
Versions: 5
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true module Git module Lint module Branches module Environments # Provides GitHub Action build environment feature branch information. class GitHubAction def initialize repository: GitPlus::Repository.new @repository = repository end def name = "origin/#{repository.branch_name}" def commits = repository.commits("origin/#{repository.branch_default}..#{name}") private attr_reader :repository end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems