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

GitHub Action

Bump Gem

v1.1.0

Bump Gem

chevrons-up

Bump Gem

The GitHub action to bump the gem or engine version

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Bump Gem

uses: Thejus-Paul/[email protected]

Learn more about this action in Thejus-Paul/bump-gem-action

Choose a version

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.

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