systemd/SOURCES/0155-ci-Run-GitHub-workflows-on-rhel-branches.patch
2023-05-09 08:51:23 +00:00

63 lines
1.5 KiB
Diff

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