From 73fa5607d863b4c2bc98b64ca94c436f31d93112 Mon Sep 17 00:00:00 2001 From: Dirk Date: Thu, 5 Sep 2024 17:55:44 +0200 Subject: [PATCH] restrict CI run to pull --- .github/workflows/test.yml | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b408c09..793dfbd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,27 +1,19 @@ name: testssl.sh CI on: - push: - paths-ignore: - - 'utils/**' - - 'doc/**' - - 'bin/**' - - '**.md' - - '**.pem' - - '**.pdf' - - '**.html' - - 'LICENSE' - - 'Dockerfile' pull_request: - - 'utils/**' - - 'doc/**' - - 'bin/**' - - '**.md' - - '**.pem' - - '**.pdf' - - '**.html' - - 'LICENSE' - - 'Dockerfile' + paths-ignore: + - 'utils/**' + - 'doc/**' + - 'bin/**' + - '.github/workflows/**.yml' + - '**.md' + - '**.pem' + - '**.pdf' + - '**.html' + - 'LICENSE' + - 'Dockerfile' + - 'Dockerfile.git' permissions: contents: read