Skip to content

Commit

Permalink
Rework how we ignore changes in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mkysel committed Dec 19, 2024
1 parent 1f90582 commit 5a38131
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ on:
push:
branches:
- main
paths-ignore:
- "contracts/**"
pull_request:
paths-ignore:
- "contracts/**"
paths:
- ".github/workflows/lint.yml"
- "pkg/**"
- "cmd/**"
- "dev/**"
- "go.mod"
- "go.sum"
- "tools.go"
- ".golangci.yaml"
permissions:
contents: read
jobs:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ on:
push:
branches:
- main
paths:
- "contracts/**"
pull_request:
paths:
- "contracts/**"
- ".github/workflows/solidity.yml"

concurrency:
group: ci-solidity-${{ github.ref }}
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ on:
push:
branches:
- main
paths-ignore:
- "contracts/**"
pull_request:
paths-ignore:
- "contracts/**"
paths:
- ".github/workflows/test.yml"
- "pkg/**"
- "cmd/**"
- "dev/**"
- "go.mod"
- "go.sum"
- "tools.go"
jobs:
test:
name: Test (Node)
Expand Down

0 comments on commit 5a38131

Please sign in to comment.