Skip to content

Commit

Permalink
Refactored for performance optimization (#8)
Browse files Browse the repository at this point in the history
* Added configuration to switch the base branch

* Added minify and v8 caching to the build command

* Moved all the source files to src folder

* Added minified and v8 cached dist files
  • Loading branch information
Thejus-Paul authored Feb 27, 2023
1 parent fcdc527 commit eda5b13
Show file tree
Hide file tree
Showing 13 changed files with 350 additions and 11,590 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ The GitHub action to bump the gem or engine version from the pull request labels

**Required** The GitHub token to authenticate with GitHub API.

### `branch`
### `new_branch`

**Optional** The branch to push the changes to. Default `"bump-gem-version"`.

### `base_branch`

**Optional** The base branch to create the pull request from. Default `"main"`.

### `commit_message`

**Optional** The commit message to use. Default `"Updated gem version"`.
Expand Down
8 changes: 6 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ inputs:
token:
description: 'Provide a GitHub token for branch creation and PR creation.'
required: true
branch:
description: 'Provide a branch name to be used for the PR.'
new_branch:
description: 'Provide a branch name to be used for the version bump PR.'
required: false
default: 'bump-gem-version'
base_branch:
description: 'Provide a base branch name to be used for the PR.'
required: false
default: 'main'
commit_message:
description: 'Provide a commit message for the gem version bump.'
required: false
Expand Down
Loading

0 comments on commit eda5b13

Please sign in to comment.