diff --git a/action.yml b/action.yml index b19c7a9..d56202f 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/readme.md b/readme.md index d443674..a7564f9 100644 --- a/readme.md +++ b/readme.md @@ -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. diff --git a/release.commit.js b/release.commit.js new file mode 100644 index 0000000..e69de29