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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
paths: ["android/**"]
|
paths:
|
||||||
|
- "android/**"
|
||||||
|
- ".github/workflows/android-build.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths: ["android/**"]
|
paths:
|
||||||
|
- "android/**"
|
||||||
|
- ".github/workflows/android-build.yml"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
|
@ -3,6 +3,21 @@ name: build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue