The GitHub action to bump the gem or engine version from the pull request labels.
Required The labels of the pull request separated by comma.
Required The GitHub token to authenticate with GitHub API.
Optional The branch to push the changes to. Default "bump-gem-version"
.
Optional The base branch to create the pull request from. Default "main"
.
Optional The commit message to use. Default "Updated gem version"
.
Optional The pull request title to use. Default "Updated gem version"
.
Optional The pull request body to use. Default "New version release"
.
Optional Provide a default bump label for cases when labels does not include a bump type label.
- name: Bump gem version
uses: Thejus-Paul/bump-gem-action@main
with:
labels: ${{ join(github.event.pull_request.labels.*.name, ',') }}
token: ${{ secrets.GITHUB_TOKEN }}
default_bump_label: patch
- name: Bump gem version
uses: Thejus-Paul/bump-gem-action@main
with:
labels: ${{ join(github.event.pull_request.labels.*.name, ',') }}
token: ${{ secrets.GITHUB_TOKEN }}
-
Install the dependencies
pnpm install
-
Make the necessary changes to
action.yml
and/orindex.js
. -
Compile the
index.js
with the dependencies into a single file.pnpm run build
-
Commit the changes and push to the branch.
git add . git commit -m "Commit message" git tag -s -a v1.0.0 -m "v1.0.0" git push --follow-tags