Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/check_license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,21 @@ on:
- main
pull_request:

permissions:
contents: read

jobs:
check-license:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@v6
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: '1.21'

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/check_private_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ on:
push:
pull_request:

permissions:
contents: read

jobs:
check-for-private-index:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: Search for private index URL in uv.lock files
run: |
FORBIDDEN_URL="us-python.pkg.dev"
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/composer_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,25 @@ on:
- 'tools/composer/**'
- '.github/workflows/composer_build_and_test.yml'

permissions:
contents: read

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Install pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
with:
version: 10

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'
cache: 'pnpm'
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ on:
- "mkdocs.yml"
- "docs/**"

permissions:
contents: read

jobs:
build_and_deploy:
runs-on: ubuntu-latest
Expand All @@ -43,7 +46,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
Expand All @@ -54,12 +57,12 @@ jobs:
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com

- name: Setup Python
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: 3.13

- name: Restore pip cache
uses: actions/cache@v5
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-docs.txt') }}
path: ~/.cache/pip
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/editor_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,20 @@ on:
- 'renderers/web_core/**'
- '.github/workflows/editor_build.yml'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/inspector_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,20 @@ on:
- 'renderers/web_core/**'
- '.github/workflows/inspector_build.yml'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/java_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,22 @@ on:
- 'agent_sdks/java/**'
- 'specification/**/json/**'

permissions:
contents: read

jobs:
build-and-test:
name: Build and test Java agent sample
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
with:
java-version: '21'
distribution: 'temurin'
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/lit_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,20 @@ on:
- 'renderers/web_core/**'
- '.github/workflows/lit_build_and_test.yml'

permissions:
contents: read

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/lit_samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,20 @@ on:
paths-ignore:
- 'samples/agent/adk/**'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ng_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,20 @@ on:
paths-ignore:
- 'samples/agent/adk/**'

permissions:
contents: read

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/python_agent_sdk_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,21 @@ on:
- 'agent_sdks/python/**'
- 'specification/**/json/**'

permissions:
contents: read

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: '3.x'

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/python_samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,22 @@ on:
- 'agent_sdks/python/**'
- 'specification/**/json/**'

permissions:
contents: read

jobs:
build:
name: Build samples
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: '3.x'

Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/react_renderer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,20 @@ on:
- 'renderers/lit/**'
- 'samples/agent/adk/**'

permissions:
contents: read

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

Expand All @@ -63,10 +68,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

Expand All @@ -92,10 +99,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/validate_specifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,30 @@ on:
- '.github/workflows/validate_specifications.yml'
- 'specification/scripts/validate.py'

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Install pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
with:
version: 10

- name: Set up Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: '3.12'

Expand Down
Loading
Loading