It happens to me very often that I merge a pull request that does not contain any semantic commits and therefore no
release is generated. This bot is supposed to help me by looking at the commits of the PR, determining the release type
using @semantic-release/commit-analyzer
and then leaving an annotation
in the PR what kind of release would be triggered. If no release is generated during the merge, an appropriate warning
is left.
name: is-semantic-pr
on:
- pull_request
jobs:
release-bot:
runs-on: ubuntu-latest
steps:
- name: 🤖 is-semantic-release
uses: sebbo2002/action-is-semantic-pr@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
Copyright (c) Sebastian Pekarek under the MIT license.