Skip to content

Commit

Permalink
BREAKING CHANGE: change git parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendargelos committed Dec 20, 2021
1 parent 8bf5ab0 commit af4b09b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
12 changes: 8 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@ inputs:
description: Enable or disable publishing to package registries. When set to false, releases are only created on GitHub.
default: true
required: false
push:
description: Enable or disable pushing changes made by the action.
commit:
description: Enable or disable commiting and pushing changes made by the action.
default: true
required: false
git_user_name:
commit_name:
description: User name to use when pushing to GitHub.
default: github-actions[bot]
required: false
git_user_email:
commit_email:
description: Email to use when pushing to GitHub.
default: github-actions[bot]@users.noreply.github.com
required: false
commit_message:
description: Commit message to use when pushing to GitHub.
default: 'ci: release'
required: false
runs:
using: node12
main: dist/index.js
Expand Down
14 changes: 10 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,26 @@ jobs:

Enable or disable publishing to package registries. When set to false, only releases are created on GitHub.

### `push`
### `commit`

`boolean` *(optional, default `true`)*

Enable or disable pushing changes made by the action.
Enable or disable commiting and pushing changes made by the action.

## `git_user_name`
## `commit_name`

`string` *(optional, default: `'github-actions[bot]'`)*

User name to use when pushing to GitHub.

## `git_user_email`
## `commit_email`

`string` *(optional, default: `'github-actions[bot]@users.noreply.github.com'`)*

Email to use when pushing to GitHub.

## `commit_message`

`string` *(optional, default: `'ci: release'`)*

Commit message to use when pushing to GitHub.
Empty file added release.commit.js
Empty file.

0 comments on commit af4b09b

Please sign in to comment.