Skip to content

Commit

Permalink
chore: refine paths-ignore for all GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Jul 1, 2023
1 parent a66958c commit 45a0390
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 22 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,18 @@ on:
- dev
paths-ignore:
- '**.md'
- '.github/FUNDING.yml'
- '.github/release-drafter.yml'
- '.github/ISSUE_TEMPLATE/*'
- '.github/workflows/pull-request.yml'
- '.github/workflows/release-drafter.yml'
- '**.yml'
- '**.yaml'
- '!.github/workflows/codeql.yml'
pull_request:
branches:
- master
- dev
paths-ignore:
- '**.md'
- '.github/FUNDING.yml'
- '.github/release-drafter.yml'
- '.github/ISSUE_TEMPLATE/*'
- '.github/workflows/pull-request.yml'
- '.github/workflows/release-drafter.yml'
- '**.yml'
- '**.yaml'
- '!.github/workflows/codeql.yml'
schedule:
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ minute (0 - 59)
# β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ hour (0 - 23)
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,20 @@ on:
- dev
paths-ignore:
- '**.md'
- '.github/FUNDING.yml'
- '.github/release-drafter.yml'
- '.github/ISSUE_TEMPLATE/*'
- '.github/workflows/codeql.yml'
- '.github/workflows/pull-request.yml'
- '.github/workflows/release-drafter.yml'
- '**.yml'
- '**.yaml'
- 'examples/*'
- '!.github/workflows/test.yml'
pull_request:
branches:
- master
- dev
paths-ignore:
- '**.md'
- '.github/FUNDING.yml'
- '.github/release-drafter.yml'
- '.github/ISSUE_TEMPLATE/*'
- '.github/workflows/codeql.yml'
- '.github/workflows/pull-request.yml'
- '.github/workflows/release-drafter.yml'
- '**.yml'
- '**.yaml'
- 'examples/*'
- '!.github/workflows/test.yml'

env:
GO111MODULE: on
Expand Down

0 comments on commit 45a0390

Please sign in to comment.