Skip to content

Commit 691a416

Browse files
committed
Merge remote-tracking branch 'upstream/main' into remove-children-normalization
2 parents 42e1b85 + e15c8a9 commit 691a416

36 files changed

Lines changed: 2761 additions & 395 deletions

.github/workflows/check_license.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020
- main
2121
pull_request:
2222

23+
permissions:
24+
contents: read
25+
2326
jobs:
2427
check-license:
2528
runs-on: ubuntu-latest

.github/workflows/check_private_index.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ on:
1818
push:
1919
pull_request:
2020

21+
permissions:
22+
contents: read
23+
2124
jobs:
2225
check-for-private-index:
2326
runs-on: ubuntu-latest

.github/workflows/composer_build_and_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ on:
2828
- "renderers/web_core/**"
2929
- ".github/workflows/composer_build_and_test.yml"
3030

31+
permissions:
32+
contents: read
33+
3134
jobs:
3235
build-and-test:
3336
runs-on: ubuntu-latest

.github/workflows/e2e_test.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@ name: E2E Tests
66

77
on:
88
schedule:
9-
- cron: "0 * * * *" # hourly
9+
- cron: "0 0 * * *" # daily
10+
11+
permissions:
12+
contents: read
1013

1114
jobs:
1215
e2e_test:
1316
# Do not run on forked branches,
1417
# because the test does not have access to secrets in forks.
1518
if: github.repository == 'google/a2ui'
1619
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
issues: write
1723
steps:
1824
- name: Check that REPO_GEMINI_API_KEY is set and available
1925
env:
@@ -51,3 +57,8 @@ jobs:
5157
env:
5258
GEMINI_API_KEY: ${{ secrets.REPO_GEMINI_API_KEY }}
5359
run: ./scripts/e2e_test.sh
60+
- name: Create Issue if E2E tests fail on main branch
61+
if: failure() && (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/main'
62+
env:
63+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
run: ./scripts/create_issue.sh "E2E tests" "e2e_failure"

.github/workflows/editor_build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ on:
2828
- "renderers/web_core/**"
2929
- ".github/workflows/editor_build.yml"
3030

31+
permissions:
32+
contents: read
33+
3134
jobs:
3235
build:
3336
runs-on: ubuntu-latest

.github/workflows/enforce-formatting.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
branches: [main]
2020
pull_request:
2121

22+
permissions:
23+
contents: read
24+
2225
jobs:
2326
enforce-formatting:
2427
runs-on: ubuntu-latest

.github/workflows/flutter_packages_test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ concurrency:
3131
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
3232
cancel-in-progress: true
3333

34+
permissions:
35+
contents: read
36+
3437
jobs:
3538
matrix:
3639
runs-on: ubuntu-latest

.github/workflows/inspector_build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ on:
2929
- "renderers/web_core/**"
3030
- ".github/workflows/inspector_build.yml"
3131

32+
permissions:
33+
contents: read
34+
3235
jobs:
3336
build:
3437
runs-on: ubuntu-latest

.github/workflows/kotlin_agent_sdk_build_and_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ on:
2828
- "specification/**/json/**"
2929
- "agent_sdks/conformance/**"
3030

31+
permissions:
32+
contents: read
33+
3134
jobs:
3235
build-and-test:
3336
runs-on: ubuntu-latest

.github/workflows/lit_build_and_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ on:
2727
- "renderers/web_core/**"
2828
- ".github/workflows/lit_build_and_test.yml"
2929

30+
permissions:
31+
contents: read
32+
3033
jobs:
3134
build-and-test:
3235
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)