From 49bc9cb3296ac9fbb7f69b74f895060923edc539 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Tue, 30 Sep 2025 21:37:11 -0500 Subject: [PATCH] Use workflow anchors --- .github/workflows/test-e2e.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index bc6192d..fa849cd 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -3,7 +3,7 @@ name: Test E2E on: push: branches: [main] - paths-ignore: + paths-ignore: &ignore_paths - 'docs/**' - '*.md' - '.golangci.yml' @@ -13,13 +13,7 @@ on: pull_request: types: [opened, synchronize, reopened] branches: ['**'] # run for PRs targeting any branch (main and others) - paths-ignore: - - 'docs/**' - - '*.md' - - '.golangci.yml' - - '.gitignore' - - '.dockerignore' - - 'LICENSE' + paths-ignore: *ignore_paths concurrency: group: e2e-${{ github.event.pull_request.head.ref }}