From e47ccb3ce6fdae63b33d88c79873e7f59bbe7803 Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Tue, 24 Oct 2023 13:31:55 +0200 Subject: [PATCH] For tests Ignore changes to the sec-scanner-config. We do not need to run tests in our code if we only bump the test scanner config. --- .github/workflows/codequality.yml | 2 ++ .github/workflows/pull-with-lifecycle-manager.yaml | 1 + .github/workflows/pull-without-lifecycle-manager.yml | 1 + .github/workflows/push-with-lifecycle-manager.yaml | 1 + .github/workflows/test.yml | 3 +++ 5 files changed, 8 insertions(+) diff --git a/.github/workflows/codequality.yml b/.github/workflows/codequality.yml index a31cd89d..f40084ca 100644 --- a/.github/workflows/codequality.yml +++ b/.github/workflows/codequality.yml @@ -6,12 +6,14 @@ on: paths-ignore: - 'docs/**' - '**.md' + - 'sec-scanners-config.yaml' push: branches: - main paths-ignore: - 'docs/**' - '**.md' + - 'sec-scanners-config.yaml' permissions: contents: read diff --git a/.github/workflows/pull-with-lifecycle-manager.yaml b/.github/workflows/pull-with-lifecycle-manager.yaml index bc8d2e60..00b210d9 100644 --- a/.github/workflows/pull-with-lifecycle-manager.yaml +++ b/.github/workflows/pull-with-lifecycle-manager.yaml @@ -12,6 +12,7 @@ on: paths-ignore: - 'docs/**' - '**.md' + - 'sec-scanners-config.yaml' jobs: e2e: diff --git a/.github/workflows/pull-without-lifecycle-manager.yml b/.github/workflows/pull-without-lifecycle-manager.yml index b30c80cf..f64d34c9 100644 --- a/.github/workflows/pull-without-lifecycle-manager.yml +++ b/.github/workflows/pull-without-lifecycle-manager.yml @@ -12,6 +12,7 @@ on: paths-ignore: - 'docs/**' - '**.md' + - 'sec-scanners-config.yaml' jobs: e2e: diff --git a/.github/workflows/push-with-lifecycle-manager.yaml b/.github/workflows/push-with-lifecycle-manager.yaml index 4e3cb84e..1c45fc6e 100644 --- a/.github/workflows/push-with-lifecycle-manager.yaml +++ b/.github/workflows/push-with-lifecycle-manager.yaml @@ -12,6 +12,7 @@ on: paths-ignore: - 'docs/**' - '**.md' + - 'sec-scanners-config.yaml' jobs: e2e: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f84ddfd2..6f4b1104 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,12 +6,15 @@ on: paths-ignore: - 'docs/**' - '**.md' + - 'sec-scanners-config.yaml' + push: branches: - main paths-ignore: - 'docs/**' - '**.md' + - 'sec-scanners-config.yaml' permissions: contents: read