Skip to content

Commit

Permalink
limiting workflow change-scope
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Sep 30, 2023
1 parent 6ece743 commit 166d845
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ name: Lint
on:

Check warning on line 5 in .github/workflows/lint.yml

View workflow job for this annotation

GitHub Actions / build (3.1)

5:1 [truthy] truthy value should be one of [false, true]
push:
branches: [latest, v*]
paths:
- 'lib/**'
- '.github/workflows/lint.yml'
pull_request:
branches: [latest, v*]
paths:
- 'lib/**'
- '.github/workflows/lint.yml'

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ name: Unit Tests
on:

Check warning on line 5 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / build (3.1)

5:1 [truthy] truthy value should be one of [false, true]
push:
branches: [latest, v*]
paths:
- 'lib/**.go'
- '.github/workflows/test.yml'
pull_request:
branches: [latest, v*]
paths:
- 'lib/**.go'
- '.github/workflows/test.yml'

jobs:
build:
Expand Down

0 comments on commit 166d845

Please sign in to comment.