Files
dependabot[bot] c3ffe225c4 build(deps):(deps): bump Namchee/conventional-pr from 0.15.5 to 0.15.6 (#6059)
Bumps [Namchee/conventional-pr](https://github.com/namchee/conventional-pr) from 0.15.5 to 0.15.6.
- [Release notes](https://github.com/namchee/conventional-pr/releases)
- [Commits](https://github.com/namchee/conventional-pr/compare/v0.15.5...v0.15.6)

---
updated-dependencies:
- dependency-name: Namchee/conventional-pr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-02-03 15:21:04 +00:00

30 lines
894 B
YAML

# Warning, do not check out untrusted code with
# the pull_request_target event.
name: Label PRs with Conventional Commits
on:
pull_request_target:
types: [opened, edited, synchronize]
merge_group:
jobs:
validate-pr:
name: Validate PR
runs-on: ubuntu-latest
steps:
- name: Validate the pull request
id: validate
uses: Namchee/conventional-pr@v0.15.6
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
issue: false
label:
needs: validate-pr
name: Label PR
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.type != 'Bot'}}
steps:
- uses: bcoe/conventional-release-labels@v1
with:
type_labels: '{"feat": "enhancement","fix": "bug","docs": "documentation","style": "style","refactor": "refactor","perf": "performance","test": "test","chore": "chore","build": "build"}'