Skip to content

Commit

Permalink
Merge 4.x into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Apr 28, 2023
2 parents 4abb660 + 06142c4 commit da0107c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/auto-merge-dev-kit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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:
- 4.x
- 5.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 }}"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ This package is available under the [MIT license](LICENSE).
[test_unstable_badge]: https://github.com/sonata-project/SonataMediaBundle/workflows/Test/badge.svg?branch=5.x
[test_unstable_link]: https://github.com/sonata-project/SonataMediaBundle/actions?query=workflow:test+branch:5.x
[coverage_stable_badge]: https://codecov.io/gh/sonata-project/SonataMediaBundle/branch/4.x/graph/badge.svg
[coverage_stable_link]: https://codecov.io/gh/sonata-project/SonataMediaBundle/branch/4.x
[coverage_stable_link]: https://app.codecov.io/gh/sonata-project/SonataMediaBundle/tree/4.x
[coverage_unstable_badge]: https://codecov.io/gh/sonata-project/SonataMediaBundle/branch/5.x/graph/badge.svg
[coverage_unstable_link]: https://codecov.io/gh/sonata-project/SonataMediaBundle/branch/5.x
[coverage_unstable_link]: https://app.codecov.io/gh/sonata-project/SonataMediaBundle/tree/5.x
[shepherd_stable_badge]: https://shepherd.dev/github/sonata-project/SonataMediaBundle/coverage.svg
[shepherd_stable_link]: https://shepherd.dev/github/sonata-project/SonataMediaBundle
[documentation_stable_badge]: https://readthedocs.org/projects/sonata-project-sonatamediabundle/badge/?version=4.x
Expand Down

0 comments on commit da0107c

Please sign in to comment.