Skip to content

DevKit updates for 6.x branch #97

DevKit updates for 6.x branch

DevKit updates for 6.x branch #97

# DO NOT EDIT THIS FILE!
#
# It's auto-generated by sonata-project/dev-kit package.
name: Auto merge DevKit PRs
on:
pull_request_target:
branches:
- 5.x
- 6.x
types: [labeled]
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'SonataCI' && github.event.label.name == 'automerge'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Auto merge PR when conditions are met
run: gh pr merge --repo "${{ github.repository }}" --rebase --auto "${{ github.event.pull_request.number }}"
- name: Auto approve PR
run: gh pr review --repo "${{ github.repository }}" --approve "${{ github.event.pull_request.number }}"