Skip to content

Commit

Permalink
gha: add paths-ignore
Browse files Browse the repository at this point in the history
Signed-off-by: Yadong Ding <ding_yadong@foxmail.com>
  • Loading branch information
Desiki-high committed Aug 25, 2023
1 parent 6ce9a79 commit 3543761
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/concurrent-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name: Concurrent Test
on:
push:
branches: [ '*' ]
paths-ignore: [ '**.md']
pull_request:
branches: [ main ]
paths-ignore: [ '**.md']

env:
GO_VERSION: 1.18
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name: Integration Test
on:
push:
branches: [ '*' ]
paths-ignore: [ '**.md']
pull_request:
branches: [ main ]
paths-ignore: [ '**.md']

env:
GO_VERSION: 1.18
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name: Unit Test
on:
push:
branches: [ '*' ]
paths-ignore: [ '**.md', '**/misc/**', '**/script/**']
pull_request:
branches: [ main ]
paths-ignore: [ '**.md', '**/misc/**', '**/script/**']

jobs:
unit_test:
Expand Down

0 comments on commit 3543761

Please sign in to comment.