Skip to content

Commit

Permalink
fix: Titlechecker only needs to check for CC for module-affecting stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
deregtd committed Oct 15, 2024
1 parent 3d74746 commit a402bde
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/titlechecker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ on:
- reopened
- edited
- synchronize
paths:
- 'stencil.yaml'
- 'manifest.yaml'
- '.mise.toml'
- '.github/workflows/build-release.yml'
- 'templates/**'
- 'tests/**'

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion stencil.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.10.2
version: 0.11.0
modules:
- name: github.com/udemy/eng-team-management
url: https://github.com/udemy/eng-team-management
Expand Down
17 changes: 17 additions & 0 deletions templates/.github/workflows/titlechecker.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ on:
- reopened
- edited
- synchronize
paths:
- 'stencil.yaml'
- 'manifest.yaml'
- '.mise.toml'
- '.github/workflows/build-release.yml'
{{- if stencil.Arg "templateModule" }}
- 'templates/**'
- 'tests/**'
{{- end }}
{{- if stencil.Arg "nativeModule" }}
- 'go.mod'
- 'go.sum'
- '.goreleaser.yaml'
- 'cmd/**'
- 'pkg/**'
- 'internal/**'
{{- end }}

jobs:
lint:
Expand Down

0 comments on commit a402bde

Please sign in to comment.