Skip to content
Merged
1 change: 1 addition & 0 deletions .github/config/nodejs.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"functions/http/uploadFile", // no tests exist
"functions/log", // parent directory
"functions/pubsub", // parent directory
"genai", // tested in .github/workflows/genai.yaml
Comment thread
holtskinner marked this conversation as resolved.
Outdated
"memorystore/redis", // parent directory
"recaptcha_enterprise/demosite/app", // no tests exist

Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/genai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: genai
on:
push:
branches:
- main
paths:
- 'genai/**'
- '.github/workflows/genai.yaml'
- '.github/workflows/test.yaml'
pull_request:
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'genai/**'
- '.github/workflows/genai.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'

jobs:
test:
permissions:
contents: 'read'
id-token: 'write'
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
uses: ./.github/workflows/test.yaml
with:
name: 'genai'
path: 'genai'
Loading