feat: add auto_merge_enabled to pull_request_target types in conventional-labels.yml (#2539)
This commit is contained in:
parent
03329b232e
commit
05efa58f5e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/conventional-labels.yml
vendored
4
.github/workflows/conventional-labels.yml
vendored
|
|
@ -3,7 +3,7 @@
|
||||||
name: Label PRs with Conventional Commits
|
name: Label PRs with Conventional Commits
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [ opened, edited , reopened]
|
types: [ opened, edited , reopened, auto_merge_enabled]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate-pr:
|
validate-pr:
|
||||||
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
needs: validate-pr
|
needs: validate-pr
|
||||||
name: Label PR
|
name: Label PR
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
- uses: bcoe/conventional-release-labels@v1
|
- uses: bcoe/conventional-release-labels@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue