From 517bf132e5508a2ac140dbea3650e89205dee052 Mon Sep 17 00:00:00 2001
From: Jan Macku <jamacku@redhat.com>
Date: Fri, 21 Jun 2024 16:15:24 +0200
Subject: [PATCH] ci: allow to pass parameters together with rhel-only note

Supported parameters:

* feature - for feature related commits (cross-version)
* bugfix - for bugfix related commits (cross-version)
* doc - for documentation related commits (usually version specific)
* workaround - for workaround related commits (usually version specific)
* ci - for CI related commits (version specific)
* test - for test related commits (version specific)
* other - for commits that do not fit into any of the above categories or use just `rhel-only`

rhel-only: ci

Related: RHEL-36636
---
 .github/advanced-commit-linter.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/advanced-commit-linter.yml b/.github/advanced-commit-linter.yml
index 3609fe4612..3e3e3fe2bf 100644
--- a/.github/advanced-commit-linter.yml
+++ b/.github/advanced-commit-linter.yml
@@ -4,8 +4,8 @@ policy:
       - github: systemd/systemd
     exception:
       note:
-        - rhel-only
-        - RHEL-only
+        - 'rhel-only: (feature|bugfix|doc|workaround|ci|test|other)'
+        - 'RHEL-only: (feature|bugfix|doc|workaround|ci|test|other)'
   tracker:
     - keyword:
         - 'Resolves: '