ci: add path filters to Go build and include self-trigger for both workflows
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c267db36a6
commit
b05225ff9b
2 changed files with 21 additions and 2 deletions
8
.github/workflows/android-build.yml
vendored
8
.github/workflows/android-build.yml
vendored
|
|
@ -3,9 +3,13 @@ name: Android Build
|
|||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths: ["android/**"]
|
||||
paths:
|
||||
- "android/**"
|
||||
- ".github/workflows/android-build.yml"
|
||||
pull_request:
|
||||
paths: ["android/**"]
|
||||
paths:
|
||||
- "android/**"
|
||||
- ".github/workflows/android-build.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
|
@ -3,6 +3,21 @@ name: build
|
|||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- "cmd/**"
|
||||
- "pkg/**"
|
||||
- "go.mod"
|
||||
- "go.sum"
|
||||
- "Makefile"
|
||||
- ".github/workflows/build.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "cmd/**"
|
||||
- "pkg/**"
|
||||
- "go.mod"
|
||||
- "go.sum"
|
||||
- "Makefile"
|
||||
- ".github/workflows/build.yml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue