Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Bump Gem

Actions
The GitHub action to bump the gem or engine version
v1.1.2
Star (1)

bump-gem-action

DeepScan grade

The GitHub action to bump the gem or engine version from the pull request labels.

Inputs

labels

Required The labels of the pull request separated by comma.

token

Required The GitHub token to authenticate with GitHub API.

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".

pr_title

Optional The pull request title to use. Default "Updated gem version".

pr_body

Optional The pull request body to use. Default "New version release".

Example usage

  - name: Bump gem version
    uses: Thejus-Paul/bump-gem-action@main
    with:
      labels: ${{ join(github.event.pull_request.labels.*.name, ',') }}
      token: ${{ secrets.GITHUB_TOKEN }}

Local development

  1. Install the dependencies

    npm install
  2. Make the necessary changes to action.yml and/or index.js.

  3. Compile the index.js with the dependencies into a single file.

    npm run build
  4. Commit the changes and push to the branch.

    git add .
    git commit -m "Commit message"
    git tag -a v1.0.0 -m "v1.0.0"
    git push --follow-tags

Bump Gem is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

The GitHub action to bump the gem or engine version
v1.1.2

Bump Gem is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.