systemd/SOURCES/0239-ci-add-NOTICE-to-also-update-regexp-in-.mergify.yml-.patch

39 lines
1.2 KiB
Diff
Raw Permalink Normal View History

2023-11-07 11:29:40 +00:00
From e6c01cbcf4cd9b7a3d4ed93e5c6693d83b735c0e Mon Sep 17 00:00:00 2001
From: Jan Macku <jamacku@redhat.com>
Date: Thu, 27 Apr 2023 18:29:26 +0200
Subject: [PATCH] ci: add NOTICE to also update regexp in `.mergify.yml` when
updating `paths` property
rhel-only
Related: #2100440
---
.github/workflows/build_test.yml | 1 +
.github/workflows/codeql.yml | 1 +
2 files changed, 2 insertions(+)
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml
index cd6937e390..fdd5a462b6 100644
--- a/.github/workflows/build_test.yml
+++ b/.github/workflows/build_test.yml
@@ -6,6 +6,7 @@ name: Build test
on:
pull_request:
paths:
+ # If changed, also change regexp in `.mergify.yml`
- '**/meson.build'
- '.github/workflows/**'
- 'meson_options.txt'
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index e8236b1857..3ee772b370 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -10,6 +10,7 @@ on:
- main
- rhel-9.*.0
paths:
+ # If changed, also change regexp in `.mergify.yml`
- '**/meson.build'
- '.github/**/codeql*'
- 'src/**'