From 247d08882e4d3a7d7b80bbfb447b8bccdfe17624 Mon Sep 17 00:00:00 2001 From: Dirk Date: Sat, 19 Jun 2021 11:12:00 +0200 Subject: [PATCH] GHA: Fix push + PR see https://github.community/t/how-to-factor-paths-in-common-for-push-and-pull-request/115967/2 TL;DR: There is no way to specify the common paths for two events --- .github/workflows/test.yml | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 95283e5..6b53286 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,16 +1,27 @@ name: testssl.sh CI -on: [push, pull_request] - paths-ignore: - - 'utils/**' - - 'docs/**' - - 'bin/**' - - '**.md' - - '**.pem' - - '**.pdf' - - '**.html' - - 'LICENSE' - - 'Dockerfile' +on: + push: + paths-ignore: + - 'utils/**' + - 'docs/**' + - 'bin/**' + - '**.md' + - '**.pem' + - '**.pdf' + - '**.html' + - 'LICENSE' + - 'Dockerfile' + pull_request: + - 'utils/**' + - 'docs/**' + - 'bin/**' + - '**.md' + - '**.pem' + - '**.pdf' + - '**.html' + - 'LICENSE' + - 'Dockerfile' jobs: build: