Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use release-please to automate versioning, changelogs and GitHub releases #165

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Automate generation of release PRs using Conventional Commits
# This workflow will create a release PR when a branch is merged into master,
# reading the conventional commit message to determine the next semantic version
# for the package. This commit data is also used to generate a changelog for the release.
# See:
# - https://github.com/googleapis/release-please
# - https://www.conventionalcommits.org/en/v1.0.0/
on:
push:
branches:
- master

name: release-please
jobs:
release-please:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
release-type: node
# See https://github.com/googleapis/release-please-action#github-credentials
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}