Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1020 Bytes

CHANGELOG.md

File metadata and controls

37 lines (26 loc) · 1020 Bytes

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

Changed

  • The pull_requests:merge task no longer requires setting the branch name and commit message provide via arguments as parameters within the task definition.

[0.9.0] 2022-01-28

Added

  • New task pull_requests:merge[branch_name,commit_message] to merge the PR associated with the specified branch.

    commit_message is optional, and can contain the original commit message with the %s placeholder, e.g. pull_requests:merge[new_feature,"%s [skip ci]"].

    Make sure to pass through branch_name and commit_message when defining your rake task:

    RakeGithub.define_repository_tasks(
      # ...
    ) do |t, args|
      # ...
      t.branch_name = args.branch_name
      t.commit_message = args.commit_message
    end