diff --git a/.mergify.yml b/.mergify.yml deleted file mode 100644 index cdfaf8c4..00000000 --- a/.mergify.yml +++ /dev/null @@ -1,141 +0,0 @@ -# doc: https://docs.mergify.com ---- - -pull_request_rules: - - - name: Automatic merge on approval & CI pass - conditions: - - "#approved-reviews-by>=1" - - "#review-requested=0" - - "#changes-requested-reviews-by=0" - - check-success=buildCheck - - check-success=lint - - -draft - - label!=dont-merge - - -title~=(?i)wip - - base=main - actions: - merge: - method: rebase - - # --- --- Labels --- --- # - - - name: Add Fedora label - conditions: - - base=main - actions: - label: - add: - - Fedora - - - name: Remove Fedora label - conditions: - - base!=main - actions: - label: - remove: - - Fedora - - # --- # - - - name: Add RHEL8 label - conditions: - - base=rhel8-branch - actions: - label: - add: - - RHEL8 - - - name: Remove RHEL8 label - conditions: - - base!=rhel8-branch - actions: - label: - remove: - - RHEL8 - - # --- # - - - name: Add RHEL9 label - conditions: - - base=rhel9-branch - actions: - label: - add: - - RHEL9 - - - name: Remove RHEL9 label - conditions: - - base!=rhel9-branch - actions: - label: - remove: - - RHEL9 - - # --- # - - - name: Add network-scripts label - conditions: - - files~=^network-scripts/ - actions: - label: - add: - - network-scripts - - - name: Remove network-scripts label - conditions: - - -files~=^network-scripts/ - actions: - label: - remove: - - network-scripts - - # --- # - - - name: Add documentation label - conditions: - - or: - - files~=^doc/ - - files~=^po/ - - files~=^man/ - - files=README.md - actions: - label: - add: - - documentation - - - name: Remove documentation label - conditions: - - and: - - -files~=^doc/ - - -files~=^po/ - - -files~=^man/ - - -files=README.md - actions: - label: - remove: - - documentation - - # --- # - - - name: Add CI label - conditions: - - or: - - files~=^.github/ - - files~=.mergify.yml - - files~=.packit.yml - actions: - label: - add: - - CI - - - name: Remove CI label - conditions: - - and: - - -files~=^.github/ - - -files~=.mergify.yml - - -files~=.packit.yml - actions: - label: - remove: - - CI diff --git a/README.md b/README.md index e379cbc9..675760f4 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ # 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) [![Differential ShellCheck](https://github.com/fedora-sysv/initscripts/actions/workflows/differential-shellcheck.yml/badge.svg)](https://github.com/fedora-sysv/initscripts/actions/workflows/differential-shellcheck.yml) [![Differential ShellCheck](https://github.com/fedora-sysv/initscripts/actions/workflows/differential-shellcheck.yml/badge.svg)](https://github.com/fedora-sysv/initscripts/actions/workflows/differential-shellcheck.yml) [![CodeQL](https://github.com/fedora-sysv/initscripts/actions/workflows/codeql.yml/badge.svg)](https://github.com/fedora-sysv/initscripts/actions/workflows/codeql.yml) [![Mergify Status][mergify-status]][mergify] - -[mergify]: https://mergify.com -[mergify-status]: https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/fedora-sysv/initscripts&style=flat +[![Build Status](https://github.com/fedora-sysv/initscripts/workflows/Integration%20test/badge.svg)](https://github.com/fedora-sysv/initscripts/actions?query=workflow%3AIntegration+test) [![Differential ShellCheck](https://github.com/fedora-sysv/initscripts/actions/workflows/differential-shellcheck.yml/badge.svg)](https://github.com/fedora-sysv/initscripts/actions/workflows/differential-shellcheck.yml) [![CodeQL](https://github.com/fedora-sysv/initscripts/actions/workflows/codeql.yml/badge.svg)](https://github.com/fedora-sysv/initscripts/actions/workflows/codeql.yml) 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.*: