diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c7a02f0..63f4a02 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,7 +17,17 @@ on: push: branches: - 'main' + paths: + - '**.go' + - 'go.mod' + - 'go.sum' + - 'cmd/dbc/**' pull_request: + paths: + - '**.go' + - 'go.mod' + - 'go.sum' + - 'cmd/dbc/**' concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ed5844c..8f88766 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -18,7 +18,19 @@ on: push: branches: - "main" + paths: + - '**.go' + - 'go.mod' + - 'go.sum' + - 'cmd/dbc/**' + - 'ci/scripts/run_integration.sh' pull_request: + paths: + - '**.go' + - 'go.mod' + - 'go.sum' + - 'cmd/dbc/**' + - 'ci/scripts/run_integration.sh' concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}