Skip to content

Release Please

Release Please #317

name: Release Please
on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
push:
branches:
- master
env:
PRERELEASE: 'false'
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"deprecation","section":"Deprecations","hidden":false},{"type":"revert","section":"Reverts","hidden":false}]'
release-type: 'node'
default-branch: '${{ github.ref_name }}'
package-name: '@skyux/icons'
pull-request-title-pattern: 'chore: release ${version}'
labels: 'autorelease ${{ github.ref_name }}: pending'
release-labels: 'autorelease ${{ github.ref_name }}: tagged'
prerelease: ${{ env.PRERELEASE == 'true' }}
draft-pull-request: true
include-v-in-tag: false
token: '${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}'