teknoraver / rpms / systemd

Forked from rpms/systemd 4 months ago
Clone

Blame SOURCES/0155-ci-Run-GitHub-workflows-on-rhel-branches.patch

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