From 88022a66c5f15311101bf9a50267087acff35f1b Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Wed, 29 Sep 2021 21:49:11 +0200 Subject: ci(Mergify): configuration update (#394) --- .mergify.yml | 14 ++++++++++++++ README.md | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .mergify.yml diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 00000000..76eff393 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,14 @@ +pull_request_rules: + - name: Automatic merge on approval & CI pass + # Don't merge when the title does contain “WIP” (ignoring case) or when label dont-merge is set + conditions: + - "#approved-reviews-by>=1" + - check-success=buildCheck + - check-success=shellCheck + - -draft + - label!=dont-merge + - -title~=(?i)wip + - base=master + actions: + merge: + method: merge diff --git a/README.md b/README.md index 9f7c27ad..a67d6e85 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# initscripts | [![Build Status](https://github.com/fedora-sysv/initscripts/workflows/Integration%20test/badge.svg)](https://github.com/fedora-sysv/initscripts/actions?query=workflow%3AIntegration+test) [![Shellcheck Status](https://github.com/fedora-sysv/initscripts/workflows/Shellcheck%20test/badge.svg)](https://github.com/fedora-sysv/initscripts/actions?query=workflow%3AShellcheck+test) +# initscripts | [![Build Status](https://github.com/fedora-sysv/initscripts/workflows/Integration%20test/badge.svg)](https://github.com/fedora-sysv/initscripts/actions?query=workflow%3AIntegration+test) [![Shellcheck Status](https://github.com/fedora-sysv/initscripts/workflows/Shellcheck%20test/badge.svg)](https://github.com/fedora-sysv/initscripts/actions?query=workflow%3AShellcheck+test) [![Mergify Status][mergify-status]][mergify] + +[mergify]: https://mergify.io +[mergify-status]: https://img.shields.io/endpoint.svg?url=https://dashboard.mergify.io/badges/fedora-sysv/initscripts&style=flat + + This repository contains source code for **legacy** *System V [initscripts](https://en.wikipedia.org/wiki/Init)*, which are primarily used in *[Linux](https://en.wikipedia.org/wiki/Linux) distributions like e.g.*: * [Fedora](https://en.wikipedia.org/wiki/Fedora_(operating_system)) -- cgit v1.2.1