sebbo2002 / action-is-semantic-pr

GitHub Action that creates an annotation with the resulting release type when using semantic-release…
MIT License
0 stars 0 forks source link

@sebbo2002/is-semantic-pr

License

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.

⚡️ Quick Start

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 and license

Copyright (c) Sebastian Pekarek under the MIT license.