Sha256: 85940a39a2ad8daea2830ad879c78c78a6ed4261332d76dd9175620e230e3eef
Contents?: true
Size: 553 Bytes
Versions: 3
Compression:
Stored size: 553 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 repo: Git::Kit::Repo.new @repo = repo end def name "origin/#{repo.branch_name}" end def shas repo.shas start: "origin/master", finish: name end private attr_reader :repo end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems