Skip to content

feat: fix (#7)

feat: fix (#7) #5

on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.release_please_token }}
release-type: dart
- name: Enable Pull Request Automerge
if: steps.release.outputs.prs_created && steps.release.outputs.pr != null
run: gh pr merge --merge --auto ${{ fromJson(steps.release.outputs.pr).number }}
env:
GH_TOKEN: ${{ secrets.release_please_token }}