Skip to content

Commit

Permalink
Don't trigger Lint and Validation for E2E Test Sink
Browse files Browse the repository at this point in the history
  • Loading branch information
muralov committed Sep 8, 2023
1 parent ca64000 commit c0ddee1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: golangci-lint
on: [pull_request]
on:
pull_request:
paths-ignore:
- 'e2e/sink/**'
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sink.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Build
name: Build E2E Sink
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: validate
on:
push:
branches: [ "main" ]
paths-ignore:
- 'e2e/sink/**'
pull_request:
branches: [ "main" ]
paths-ignore:
- 'e2e/sink/**'

jobs:
unit-tests:
Expand Down

0 comments on commit c0ddee1

Please sign in to comment.