Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
676408b
fix(internal/librarian/java): refine whitespace delimiters and exclud…
yangyzs Jun 6, 2026
680b8f6
fix(java): ensure zero diff for README whitespace
yangyzs Jun 6, 2026
68eaa85
fix(java): remove left hyphen from else if in README template to prev…
yangyzs Jun 6, 2026
eb22655
fix(java): match legacy Troubleshooting spacing exactly for missing s…
yangyzs Jun 6, 2026
f8e57c6
fix: fallback to .yml for readme partials and save postprocess modern…
yangyzs Jun 7, 2026
cecd7d2
WIP: save all postprocessing modernization work
yangyzs Jun 10, 2026
8ca2d23
chore: temporary commit
yangyzs Jun 15, 2026
5bdf8bc
feat(postprocessing): validate method signatures during config parsing
yangyzs Jun 15, 2026
cf6d455
fix: revert fileops to upstream and fix postprocess syntax
yangyzs Jun 16, 2026
4641cf2
feat(internal/postprocessing): integrate robust Java deprecation logi…
yangyzs Jun 18, 2026
a3f80de
feat(internal/postprocessing): validate method operations and replace…
yangyzs Jun 18, 2026
c5ccced
Merge branch 'googleapis:main' into modernize-postprocess
yangyzs Jun 21, 2026
520fe9d
chore(internal/librarian/nodejs): remove symlink workarounds for issu…
JoeWang1127 Jun 22, 2026
9cd8ee9
fix(internal/librarian/nodejs): correct product doc link in readme te…
JoeWang1127 Jun 22, 2026
68c0a20
feat(internal/librarian/nodejs): generate README in Node library (#6520)
JoeWang1127 Jun 22, 2026
7a89172
feat(sidekick/rust): add condition to include `google-cloud-lro` as d…
haphungw Jun 22, 2026
09c74f6
fix(sidekick/swift): UrlSafe requires custom serialization (#6522)
coryan Jun 22, 2026
6ee3e95
chore(librarian): mention release-please in add (#6526)
noahdietz Jun 22, 2026
9489715
feat(sidekick/swift): qualified names for requests (#6506)
coryan Jun 22, 2026
aa8abbf
chore(main): release 0.22.0 (#6448)
release-please[bot] Jun 23, 2026
1373628
feat(nodejs): bump pnpm version to 11.7.0 and support v11+ global bin…
suztomo Jun 23, 2026
7303648
feat(sidekick/swift): generate synthetic messages (#6530)
coryan Jun 24, 2026
a6d950a
feat(internal/librarian/java): add decamelize utility for README gene…
yangyzs Jun 25, 2026
56bf365
feat(sidekick/swift): handle clashing names (#6543)
coryan Jun 25, 2026
0986d6a
feat(internal/librarian/java): add title override extractor (#6546)
yangyzs Jun 26, 2026
a0930f4
feat(internal/librarian/python): update gapic-generator to 1.36.0 (#6…
parthea Jun 26, 2026
eba5cb5
ci: auto-fix workflow YAML files (#6544)
suztomo Jun 26, 2026
a698ddd
chore(internal/librarianops): update generate commit type to `feat` (…
JoeWang1127 Jun 27, 2026
91af191
chore(internal/serviceconfig): rename api-allowlist-schema to sdk-yam…
JoeWang1127 Jun 27, 2026
2fb20a6
ci: add contents: read permission to create-issue-on-failure jobs (#6…
suztomo Jun 27, 2026
df213ec
feat(internal/librarian/java): add production sample filter (#6545)
yangyzs Jun 27, 2026
867f637
fix(internal/librarian/java): refine whitespace delimiters and exclud…
yangyzs Jun 6, 2026
a59e405
fix(java): ensure zero diff for README whitespace
yangyzs Jun 6, 2026
54039c2
fix(java): remove left hyphen from else if in README template to prev…
yangyzs Jun 6, 2026
f09bc19
fix(java): match legacy Troubleshooting spacing exactly for missing s…
yangyzs Jun 6, 2026
6eb0889
fix: fallback to .yml for readme partials and save postprocess modern…
yangyzs Jun 7, 2026
8c57cfb
WIP: save all postprocessing modernization work
yangyzs Jun 10, 2026
fea33cb
chore: temporary commit
yangyzs Jun 15, 2026
f2e3676
feat(postprocessing): validate method signatures during config parsing
yangyzs Jun 15, 2026
845c73e
fix: revert fileops to upstream and fix postprocess syntax
yangyzs Jun 16, 2026
0ad8357
feat(internal/postprocessing): integrate robust Java deprecation logi…
yangyzs Jun 18, 2026
4049c9c
feat(internal/postprocessing): validate method operations and replace…
yangyzs Jun 18, 2026
60f00a2
Merge upstream/main into modernize-postprocess and fix compilation/te…
yangyzs Jun 22, 2026
027784d
refactor(java): apply Go best practices and style optimizations to RE…
yangyzs Jun 22, 2026
a8b2d7f
feat(java): load README template from disk dynamically instead of emb…
yangyzs Jun 22, 2026
be77556
refactor(java): render README using typed repoMetadata struct directly
yangyzs Jun 23, 2026
e347a88
feat(internal/librarian/java): integrate yaml metadata extraction and…
yangyzs Jun 27, 2026
c61084a
feat(internal/librarian/java): migrate ExtractSamples to return Sampl…
yangyzs Jun 27, 2026
11f23c4
feat(internal/librarian/java): rename CLI flag to go-postprocessor an…
yangyzs Jun 27, 2026
e76e25d
feat(internal/postprocessing): migrate postprocessing config into lib…
yangyzs Jun 27, 2026
f0c1611
feat(internal/librarian/java): fallback to embedded template in Rende…
yangyzs Jun 27, 2026
095ebec
refactor(internal/librarian/java): adjust function orders and enhance…
yangyzs Jun 27, 2026
1f046cd
build: fix compile errors by exporting ErrTextNotFound and aligning r…
yangyzs Jun 27, 2026
c6a0faa
test(internal/librarian/java): align TestDecamelize and TestIsProduct…
yangyzs Jun 27, 2026
3ecc331
fix(java): remove duplicate 'src' directory prefix in restructureToSt…
yangyzs Jun 28, 2026
9228f24
refactor(java): enhance postprocess keep logic, resource handling and…
yangyzs Jun 28, 2026
b285771
refactor(java): decouple keepSet from postprocessing and revert clean…
yangyzs Jun 28, 2026
4759539
chore(java): remove unused legacy README.md.tmpl
yangyzs Jun 28, 2026
d217108
chore(internal/librarian): revert unrelated changes and minimize diff…
yangyzs Jun 28, 2026
380c5ad
merge: resolve divergence with remote modernize-postprocess branch
yangyzs Jun 28, 2026
d1252dd
chore(internal/librarian/java): revert clean.go to upstream and remov…
yangyzs Jun 28, 2026
01ea0ac
fix(internal/librarian/java): respect ReleasedVersion and restore mut…
yangyzs Jun 28, 2026
c3c8bbe
refactor(internal/librarian/java): consolidate postprocessing and tes…
yangyzs Jun 28, 2026
1b04ffa
chore(internal/librarian/java): revert unnecessary filepath.Abs in te…
yangyzs Jun 28, 2026
be45eb8
style(internal/librarian/java): align generateAPIParams struct fields…
yangyzs Jun 28, 2026
f718a66
chore(internal/librarian/java): remove unused legacy README.md.tmpl
yangyzs Jun 28, 2026
a08b989
chore(internal/librarian/java): revert unnecessary filepath.Abs in ge…
yangyzs Jun 28, 2026
4846126
refactor(internal/librarian/java): decouple legacy staging restructur…
yangyzs Jun 28, 2026
53a55e3
refactor(internal/librarian/java): revert removeKeptFilesFromStaging …
yangyzs Jun 28, 2026
4d8ff2f
refactor(internal/librarian/java): reuse toKeepSet helper in runGoPos…
yangyzs Jun 28, 2026
a563367
refactor(internal/librarian/java): make README template render hermet…
yangyzs Jun 28, 2026
11774e4
refactor(internal/librarian/java): consolidate README rendering and e…
yangyzs Jun 29, 2026
b483eed
chore(tool/cmd): remove configcheck tool (#6561)
JoeWang1127 Jun 29, 2026
27a2e89
chore(internal/librarian/python): restore function visibility (#6560)
JoeWang1127 Jun 29, 2026
660ab2b
feat(internal/librarian/java): Add JSpecify dep to proto module templ…
lqiu96 Jun 29, 2026
d6d5054
docs(internal/librarian/java): add java package developer guide (#6479)
zhumin8 Jun 29, 2026
1ec1f6e
chore(internal/librarian): refactor unit tests (#6557)
JoeWang1127 Jun 29, 2026
feb2ef2
feat(sidekick/rust): track recording error info for discovery LROs (#…
haphungw Jun 29, 2026
62d6c15
chore(internal/librarian): rename `cfg_value_utility.go` to `config_v…
JoeWang1127 Jun 29, 2026
bb509a7
refactor(internal/fetch): rename helper functions in fetch.go (#6559)
JoeWang1127 Jun 29, 2026
a71db8e
refactor(internal/librarian/java): accept file path in extractTitle (…
yangyzs Jun 29, 2026
faa88f0
chore(actions): update version comments and specify setup-dart releas…
g-husam Jun 29, 2026
14e186c
feat(sidekick/swift): swap client vs. protocol (#6566)
coryan Jun 29, 2026
8f81089
chore: remove legacylibrarian (#6572)
codyoss Jun 29, 2026
7569927
chore(.github): update node and pnpm in nodejs workflow (#6577)
JoeWang1127 Jun 29, 2026
5be31db
chore(internal/librarian/nodejs): update node generator (#6575)
JoeWang1127 Jun 29, 2026
500ba22
feat(internal/librarian/java): add README sample extraction helpers (…
yangyzs Jun 29, 2026
97ed951
chore(.github): rm legacylibrarian from workflow (#6579)
JoeWang1127 Jun 29, 2026
3ee938a
fix(internal/librarian): gracefully handle nil defaults in applyDefau…
g-husam Jun 29, 2026
bfb6df9
chore(main): release 0.23.0 (#6536)
release-please[bot] Jun 29, 2026
0bf03bf
chore(ci): exclude CHANGELOG.md from typos check (#6581)
noahdietz Jun 29, 2026
2ed15d7
Revert "feat(internal/librarian/java): remove redundant keep items in…
sofisl Jun 29, 2026
b5e3d45
feat(internal/librarian/java): add extractSamples for README generati…
yangyzs Jun 30, 2026
bb40e83
feat(sidekick/discovery): signatures without path params (#6588)
coryan Jun 30, 2026
12fc3af
cleanup(sidekick): follow test guidelines (#6590)
coryan Jun 30, 2026
e20f77a
fix(internal/serviceconfig): normalize transport name for Java repo-m…
sofisl Jun 30, 2026
027103b
feat(internal/librarian): add debug command with env subcommand (#6576)
hj690 Jun 30, 2026
1f8ee00
feat(add): handle Release Please config for google-cloud-node (#6569)
suztomo Jun 30, 2026
986aee4
WIP: backup full README generator implementation
yangyzs Jun 30, 2026
2087514
refactor(internal/librarian/java): remove unreachable branch in trimL…
yangyzs Jun 30, 2026
299c9bc
refactor(java): simplify transport lookup (#6580)
noahdietz Jun 30, 2026
96f6925
feat(internal/librarian/java): add code snippet extraction helpers fo…
yangyzs Jul 1, 2026
16aea38
chore: sync upstream/main into temp-stash
yangyzs Jul 1, 2026
b8e50a5
fix(internal/librarian/java): exclude google-cloud-bom and libraries-…
zhumin8 Jul 1, 2026
3f6cfed
feat(internal/librarian/nodejs): add metadata_name_override and name_…
quirogas Jul 1, 2026
5a44ed7
feat(librarian/swift): use discovery config (#6604)
coryan Jul 1, 2026
0efb6e7
fix(sdk.yaml): allow rust for many non-cloud apis (#6598)
noahdietz Jul 1, 2026
003b443
refactor(internal/config): remove deprecated libraries_bom_version fr…
sofisl Jul 1, 2026
accb8ad
feat(internal/librarian): populate Java Maven coordinates from defaul…
JoeWang1127 Jul 1, 2026
95a80c1
chore(main): release 0.24.0 (#6586)
release-please[bot] Jul 1, 2026
ca68a4b
feat(java): assemble complete README generator stack
yangyzs Jul 1, 2026
186fee6
feat(java): integrate latest temp-stash updates
yangyzs Jul 1, 2026
c145c2a
chore: merge origin/modernize-postprocess keeping latest local stack
yangyzs Jul 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 11 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,15 @@ name: Librarian
on: [push, pull_request, merge_group]
permissions:
contents: read
issues: write
jobs:
legacylibrarian:
runs-on: ubuntu-24.04
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-librarian
- name: Run tests and check coverage
run: go run ./tool/cmd/coverage ./internal/legacylibrarian/...
test:
runs-on: ubuntu-24.04
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- name: Setup librarian.yaml for test tool dependency installation
run: |
Expand All @@ -42,13 +34,18 @@ jobs:
- name: Run tests and check coverage
run: |
go run ./tool/cmd/coverage -target=80 \
$(go list ./... | grep -v -E 'github.com/googleapis/librarian$|internal/librarian/(dart|golang|java|nodejs|python|rust|swift)|internal/sidekick|internal/legacylibrarian|internal/sample|internal/testhelper')
$(go list ./... | grep -v -E 'github.com/googleapis/librarian$|internal/librarian/(dart|golang|java|nodejs|python|rust|swift)|internal/sidekick|internal/sample|internal/testhelper')
create-issue-on-failure:
runs-on: ubuntu-24.04
needs: [legacylibrarian, test]
permissions:
contents: read
issues: write
needs: [test]
if: ${{ always() && contains(needs.*.result, 'failure') && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/create-issue-on-failure
with:
title: "all: tests failed at HEAD"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/create-issue-on-failure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
create-issue-on-failure:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/create-issue-on-failure
with:
title: "${{ inputs.repository }}: librarian generate fails when run at HEAD"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- name: Display Go version
run: go version
- name: Install Dart SDK
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260 # v1.7.2
with:
sdk: 3.9.0
- name: Display Dart version
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,32 @@ name: Go
on: [push, pull_request, merge_group]
permissions:
contents: read
issues: write
jobs:
test:
runs-on: ubuntu-24.04
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- name: Run tests
run: go run ./tool/cmd/coverage ./internal/librarian/golang
integration:
runs-on: ubuntu-24.04
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- name: Checkout google-cloud-go
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
repository: googleapis/google-cloud-go
path: google-cloud-go
persist-credentials: false
- name: Run librarian install
working-directory: google-cloud-go
run: librarian install
Expand All @@ -45,6 +49,9 @@ jobs:
run: librarian generate --all
create-issue-on-failure:
needs: [integration]
permissions:
contents: read
issues: write
if: ${{ always() && contains(needs.*.result, 'failure') && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/create-issue-on-failure.yaml
with:
Expand Down
28 changes: 18 additions & 10 deletions .github/workflows/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,35 @@ name: Java
on: [push, pull_request, merge_group]
permissions:
contents: read
issues: write
jobs:
test:
runs-on: ubuntu-24.04
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- name: Checkout google-cloud-java
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
repository: googleapis/google-cloud-java
path: google-cloud-java
persist-credentials: false
- name: Display Go version
run: go version
- uses: actions/setup-java@v4
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
with:
java-version: "17"
distribution: "temurin"
cache: "maven"
- uses: actions/setup-python@v5
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
- name: Cache Librarian Tools & Venv
id: cache-tools
uses: actions/cache@v5
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: |
~/.cache/librarian
Expand Down Expand Up @@ -80,14 +82,17 @@ jobs:
runs-on: ubuntu-24.04
if: github.event_name == 'push' && (github.ref == 'refs/heads/main')
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- name: Checkout google-cloud-java
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
repository: googleapis/google-cloud-java
path: google-cloud-java
- uses: actions/setup-java@v4
persist-credentials: false
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
with:
java-version: "17"
distribution: "temurin"
Expand All @@ -100,7 +105,7 @@ jobs:
sudo apt-get update && sudo apt-get install -y maven
fi
mvn -version
- uses: actions/setup-python@v5
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
- name: Run librarian install
Expand All @@ -115,6 +120,9 @@ jobs:
run: librarian generate --all
create-issue-on-failure:
needs: [integration]
permissions:
contents: read
issues: write
if: ${{ always() && contains(needs.*.result, 'failure') && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/create-issue-on-failure.yaml
with:
Expand Down
42 changes: 28 additions & 14 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version-file: "go.mod"
- name: Run TestAddLicense
Expand All @@ -32,15 +34,19 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: crate-ci/typos@v1.45.0
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: crate-ci/typos@02ea592e44b3a53c302f697cddca7641cd051c3d # v1.45.0
yamlfmt:
runs-on: ubuntu-24.04
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version-file: "go.mod"
- name: Run TestYAMLFormat
Expand All @@ -50,8 +56,10 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version-file: "go.mod"
- name: Run TestGoImports
Expand All @@ -61,8 +69,10 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version-file: "go.mod"
- name: Run TestGolangCILint
Expand All @@ -72,8 +82,10 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version-file: "go.mod"
- name: Run TestGoModTidy
Expand All @@ -83,8 +95,10 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version-file: "go.mod"
- name: Run TestGoGenerate
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/multi_approvers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ on:
# branch and does not check out or run untrusted code from the PR branch.
# For more details, see the action's documentation:
# https://github.com/abcxyz/actions/blob/main/.github/actions/multi-approvers/README.md
# zizmor: ignore[dangerous-triggers] - {Multi-approver check needs this}
pull_request_target:
types:
- 'opened'
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,23 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- uses: actions/setup-node@v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: "18"
node-version: "22"
- name: "Set up pnpm via corepack"
run: |
corepack enable pnpm
corepack prepare pnpm@7.32.2 --activate
corepack prepare pnpm@11.7.0 --activate
- name: "Install Node.js dependencies (resolve cache paths)"
id: tool-paths
run: |
echo "npm=$(npm config get prefix)" >> "$GITHUB_OUTPUT"
- name: "Install Node.js dependencies (restore cache)"
uses: actions/cache@v5
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: tools-cache
with:
path: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- uses: actions/setup-python@v6
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.14"
- name: Install pandoc
Expand Down
Loading
Loading