ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
ac3a84
From 70dcdd6dfcda08486201442f225f7d8c9980e047 Mon Sep 17 00:00:00 2001
ac3a84
From: Jan Macku <jamacku@redhat.com>
ac3a84
Date: Thu, 8 Dec 2022 15:52:30 +0100
ac3a84
Subject: [PATCH] ci: Run GitHub workflows on rhel branches
ac3a84
ac3a84
rhel-only
ac3a84
ac3a84
Related: #2138081
ac3a84
---
ac3a84
 .github/workflows/cflite_pr.yml | 2 +-
ac3a84
 .github/workflows/codeql.yml    | 4 ++--
ac3a84
 .github/workflows/linter.yml    | 2 +-
ac3a84
 3 files changed, 4 insertions(+), 4 deletions(-)
ac3a84
ac3a84
diff --git a/.github/workflows/cflite_pr.yml b/.github/workflows/cflite_pr.yml
ac3a84
index a35a97f046..500be1c2cf 100644
ac3a84
--- a/.github/workflows/cflite_pr.yml
ac3a84
+++ b/.github/workflows/cflite_pr.yml
ac3a84
@@ -7,7 +7,7 @@ on:
ac3a84
   pull_request:
ac3a84
     branches:
ac3a84
       - main
ac3a84
-      - v[0-9]+-stable
ac3a84
+      - rhel-9.*.0
ac3a84
 
ac3a84
 permissions: read-all
ac3a84
 
ac3a84
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
ac3a84
index b531753cab..e8236b1857 100644
ac3a84
--- a/.github/workflows/codeql.yml
ac3a84
+++ b/.github/workflows/codeql.yml
ac3a84
@@ -8,7 +8,7 @@ on:
ac3a84
   pull_request:
ac3a84
     branches:
ac3a84
       - main
ac3a84
-      - v[0-9]+-stable
ac3a84
+      - rhel-9.*.0
ac3a84
     paths:
ac3a84
       - '**/meson.build'
ac3a84
       - '.github/**/codeql*'
ac3a84
@@ -18,7 +18,7 @@ on:
ac3a84
   push:
ac3a84
     branches:
ac3a84
       - main
ac3a84
-      - v[0-9]+-stable
ac3a84
+      - rhel-9.*.0
ac3a84
 
ac3a84
 permissions:
ac3a84
   contents: read
ac3a84
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml
ac3a84
index 180cfbfdba..eddd350122 100644
ac3a84
--- a/.github/workflows/linter.yml
ac3a84
+++ b/.github/workflows/linter.yml
ac3a84
@@ -8,7 +8,7 @@ on:
ac3a84
   pull_request:
ac3a84
     branches:
ac3a84
       - main
ac3a84
-      - v[0-9]+-stable
ac3a84
+      - rhel-9.*.0
ac3a84
 
ac3a84
 permissions:
ac3a84
   contents: read