-
Notifications
You must be signed in to change notification settings - Fork 45
33 lines (29 loc) · 1.2 KB
/
release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Release Please automates releases using Conventional Commit messages. After each release it maintains an open PR
# called `chore(main): release <semver>`, which keeps the CHANGELOG.md up to date along with a changelog.json file.
# When the release PR is merged, this action will create a Github release. Our docs-site PR workflow will use the
# contents of the changelog.json file and PR headers to generate release notes for the public docs website.
# See https://github.com/google-github-actions/release-please-action
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pull-requests: write
name: Release Please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
token: ${{ secrets.BROWSER_GITHUB_BOT_INTERNAL_PAT }}
pull-request-header: "When this PR is merged, a new tagged release will be created with the notes below."
changelog-types: |
[
{"type":"feat","section":"Features"},
{"type":"fix","section":"Bug Fixes"},
{"type":"security","section":"Security Fixes"}
]