-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into haguirre/addModelVersions
- Loading branch information
Showing
431 changed files
with
74,956 additions
and
3,440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
# Add 'root' label to any root file changes | ||
# Quotation marks are required for the leading asterisk | ||
root: | ||
- changed-files: | ||
- any-glob-to-any-file: '*' | ||
|
||
docs: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/*.md' | ||
- '**/*.rst' | ||
- 'LICENSE' | ||
- 'docs-go/**' | ||
- 'docs/**' | ||
- 'py/engdocs/**' | ||
|
||
go: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/*.go' | ||
- '**/go.mod' | ||
- '**/go.sum' | ||
- 'go/**' | ||
|
||
python: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/*.py' | ||
- '**/pyproject.toml' | ||
- 'py/**' | ||
|
||
js: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/*.js' | ||
- '**/*.jsx' | ||
- '**/*.ts' | ||
- '**/*.tsx' | ||
- '**/package.json' | ||
- 'js/**' | ||
|
||
tooling: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'genkit-tools/**' | ||
|
||
config: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/*.toml' | ||
- '**/*.yaml' | ||
- '**/*.yml' | ||
- '**/.editorconfig' | ||
- '**/.github/**' | ||
- '**/.gitignore' | ||
- '**/.npmignore' | ||
- '**/.npmrc' | ||
- '**/.prettierignore' | ||
- '**/package.json' | ||
- '**/tsconfig.*.json' | ||
- '**/tsconfig.json' | ||
- '**/typedoc.json' | ||
|
||
sample: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'samples/**' | ||
|
||
dotprompt: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/dotprompt/**' | ||
|
||
handlebarz: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/handlebarz/**' | ||
|
||
# Automatically add labels to any PR also based on branch naming conventions. | ||
build: | ||
- head-branch: [^.*/build/.*, build] | ||
|
||
chore: | ||
- head-branch: [^.*/chore/.*, chore] | ||
|
||
ci: | ||
- head-branch: [^.*/ci/.*, ci] | ||
|
||
feature: | ||
- head-branch: [^.*/feat/.*, feature] | ||
|
||
fix: | ||
- head-branch: [^.*/fix/.*, fix] | ||
|
||
perf: | ||
- head-branch: [^.*/perf/.*, perf] | ||
|
||
refactor: | ||
- head-branch: [^.*/refactor/.*, refactor] | ||
|
||
style: | ||
- head-branch: [^.*/style/.*, style] | ||
|
||
test: | ||
- head-branch: [^.*/test/.*, test] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,7 @@ | |
|
||
name: Go tests and checks | ||
|
||
on: | ||
pull_request: | ||
paths: 'go/**' | ||
on: pull_request | ||
|
||
jobs: | ||
tests: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Pull Request Labeler" | ||
|
||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
labeler: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Python Checks | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
python-checks: | ||
runs-on: ubuntu-latest | ||
env: | ||
PATH: ${{ github.workspace }}/go/bin:${{ github.workspace }}/.cargo/bin:${{ github.workspace }}/.local/share/pnpm:${{ github.workspace }}/.local/bin:/usr/local/bin:/usr/bin:/bin | ||
strategy: | ||
matrix: | ||
python-version: | ||
- "3.12" | ||
defaults: | ||
run: | ||
working-directory: py | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Pre-requisites | ||
run: bin/setup -a ci | ||
|
||
- name: Install uv and setup Python version | ||
uses: astral-sh/setup-uv@v5 | ||
with: | ||
enable-cache: true | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Format check | ||
run: uv run ruff format --check . | ||
|
||
- name: Lint with ruff | ||
run: uv run ruff check . | ||
|
||
- name: Run tests | ||
run: ./bin/run_tests | ||
|
||
- name: Build documentation | ||
run: uv run mkdocs build --strict | ||
|
||
- name: Build distributions | ||
run: ./bin/build_dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
go/ | ||
public/ | ||
.github/ | ||
.mypy_cache/* | ||
.prettierrc.yaml | ||
pnpm-lock.yaml | ||
docs/* | ||
docs-go/* | ||
docs/* | ||
genkit-tools/genkit-schema.json | ||
go/ | ||
pnpm-lock.yaml | ||
public/ | ||
py/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.