Use workflow anchors

This commit is contained in:
Volodymyr Zotov
2025-09-30 21:37:11 -05:00
parent de62e07bcf
commit 49bc9cb329

View File

@@ -3,7 +3,7 @@ name: Test E2E
on: on:
push: push:
branches: [main] branches: [main]
paths-ignore: paths-ignore: &ignore_paths
- 'docs/**' - 'docs/**'
- '*.md' - '*.md'
- '.golangci.yml' - '.golangci.yml'
@@ -13,13 +13,7 @@ on:
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
branches: ['**'] # run for PRs targeting any branch (main and others) branches: ['**'] # run for PRs targeting any branch (main and others)
paths-ignore: paths-ignore: *ignore_paths
- 'docs/**'
- '*.md'
- '.golangci.yml'
- '.gitignore'
- '.dockerignore'
- 'LICENSE'
concurrency: concurrency:
group: e2e-${{ github.event.pull_request.head.ref }} group: e2e-${{ github.event.pull_request.head.ref }}