Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Add GitHub action that checks license headers (#134)
Jaana Dogan7edaabdbf5bd
diff --git a/.github/workflows/go.yml b/.github/workflows/go.ymlindex 218bec6..543c9e5 100644--- a/.github/workflows/go.yml+++ b/.github/workflows/go.yml@@ -1,3 +1,17 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# This workflow will build a golang project# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go@@ -16,6 +30,21 @@ jobs:steps:- uses: actions/checkout@v4+ - name: Cache addlicense+ id: cache-addlicense+ uses: actions/cache@v4+ with:+ path: ~/go/bin/addlicense+ key: ${{ runner.os }}-addlicense-v1.2.0++ - name: Install addlicense+ if: steps.cache-addlicense.outputs.cache-hit != 'true'+ run: go install github.com/google/[email protected]++ - name: Check license headers+ run: |+ $(go env GOPATH)/bin/addlicense -check .+- name: Set up Gouses: actions/setup-go@v4with:@@ -27,6 +56,8 @@ jobs:- name: Testrun: go test -v ./...++- name: Check for binary files in PRrun: |# Get the list of files where Git shows no line count (binary)diff --git a/Dockerfile b/Dockerfileindex bef1eac..48d4050 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,3 +1,18 @@++# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# This Dockerfile builds the container image for the 'uppercase' Sandbox Agent.# The resulting image is pushed to Artifact Registry and referenced by the# SandboxTemplate manifest to be executed dynamically via GKE Agent Sandbox.diff --git a/examples/gke_sandbox_agent/Dockerfile b/examples/gke_sandbox_agent/Dockerfileindex bef1eac..84dfadd 100644--- a/examples/gke_sandbox_agent/Dockerfile+++ b/examples/gke_sandbox_agent/Dockerfile@@ -1,3 +1,17 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# This Dockerfile builds the container image for the 'uppercase' Sandbox Agent.# The resulting image is pushed to Artifact Registry and referenced by the# SandboxTemplate manifest to be executed dynamically via GKE Agent Sandbox.diff --git a/python/proto/__init__.py b/python/proto/__init__.pyindex e69de29..58d482e 100644--- a/python/proto/__init__.py+++ b/python/proto/__init__.py@@ -0,0 +1,13 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.