Skip to content

Commit

Permalink
v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticFiasco committed Aug 2, 2020
1 parent 14026e8 commit 76ca5db
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 283 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [Unreleased]

## [1.4.0] - 2020-08-02

### :zap: Added

- Support for substituting variable `currentYear` in configuration `commitTitle`, `commitBody`, `prTitle` and `prBody`
Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,41 +53,43 @@ For the majority of repositories on GitHub the following code will do the job. I
# Default: ${{ github.token }}
token: ''

# The branch name template with support for substituting variable {{currentYear}}.
# The branch name. Supports substituting variable {{currentYear}}.
# Required: false
# Default: license/copyright-to-{{currentYear}}
branchName: ''

# The git commit title
# The git commit title. Supports substituting variable {{currentYear}}.
# Required: false
# Default: docs(license): update copyright year(s)
commitTitle: ''

# The git commit body that will be appended to commit title, separated by two line
# returns
# returns. Supports substituting variable {{currentYear}}.
# Required: false
# Default:
# Default:
commitBody: ''

# The title of the new pull request
# The title of the new pull request. Supports substituting variable
# {{currentYear}}.
# Required: false
# Default: Update license copyright year(s)
prTitle: ''

# The contents of the pull request
# The contents of the pull request. Supports substituting variable
# {{currentYear}}.
# Required: false
# Default:
# Default:
prBody: ''

# Comma-separated list with usernames of people to assign when pull request is
# created
# Required: false
# Default:
# Default:
assignees: ''

# Comma-separated list of labels to add when pull request is created
# Required: false
# Default:
# Default:
labels: ''
```
<!-- end usage -->
Expand Down
55 changes: 0 additions & 55 deletions action.vNext.yml

This file was deleted.

11 changes: 6 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,25 @@ inputs:
default: ${{ github.token }}
required: false
branchName:
description: The branch name template with support for substituting variable {{currentYear}}.
description: The branch name. Supports substituting variable {{currentYear}}.
default: license/copyright-to-{{currentYear}}
required: false
commitTitle:
description: The git commit title
description: The git commit title. Supports substituting variable {{currentYear}}.
default: "docs(license): update copyright year(s)"
required: false
commitBody:
description: >
The git commit body that will be appended to commit title, separated by two line returns
The git commit body that will be appended to commit title, separated by two line returns.
Supports substituting variable {{currentYear}}.
default: ""
required: false
prTitle:
description: The title of the new pull request
description: The title of the new pull request. Supports substituting variable {{currentYear}}.
default: Update license copyright year(s)
required: false
prBody:
description: The contents of the pull request
description: The contents of the pull request. Supports substituting variable {{currentYear}}.
default: ""
required: false
assignees:
Expand Down
Loading

0 comments on commit 76ca5db

Please sign in to comment.