feat: add auto_merge_enabled to pull_request_target types in conventional-labels.yml (#2539)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-04 15:24:37 -03:00 committed by GitHub
commit 05efa58f5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@
name: Label PRs with Conventional Commits
on:
pull_request_target:
types: [ opened, edited , reopened]
types: [ opened, edited , reopened, auto_merge_enabled]
jobs:
validate-pr:
@ -22,7 +22,7 @@ jobs:
needs: validate-pr
name: Label PR
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.type != 'Bot' && needs.validate-pr.outputs.validate_output == 'true' }}
if: ${{ github.event.pull_request.user.type != 'Bot'}}
steps:
- uses: bcoe/conventional-release-labels@v1
with: