mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-05-02 03:00:36 -04:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://redirect.github.com/actions/cache) | action | pinDigest | -> `5a3ec84` | | [actions/checkout](https://redirect.github.com/actions/checkout) | action | minor | `v4.1.6` -> `v4.2.2` | | [actions/checkout](https://redirect.github.com/actions/checkout) | action | pinDigest | -> `11bd719` | | [actions/github-script](https://redirect.github.com/actions/github-script) | action | pinDigest | -> `60a0d83` | | [actions/setup-go](https://redirect.github.com/actions/setup-go) | action | minor | `v5.0.1` -> `v5.4.0` | | [actions/setup-node](https://redirect.github.com/actions/setup-node) | action | pinDigest | -> `cdca736` | | [golangci/golangci-lint-action](https://redirect.github.com/golangci/golangci-lint-action) | action | minor | `v6.0.1` -> `v6.5.2` | | [peaceiris/actions-gh-pages](https://redirect.github.com/peaceiris/actions-gh-pages) | action | pinDigest | -> `4f9cc66` | | [peaceiris/actions-hugo](https://redirect.github.com/peaceiris/actions-hugo) | action | pinDigest | -> `75d2e84` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v4.2.2`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.2.1...v4.2.2) - `url-helper.ts` now leverages well-known environment variables by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1941](https://redirect.github.com/actions/checkout/pull/1941) - Expand unit test coverage for `isGhes` by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1946](https://redirect.github.com/actions/checkout/pull/1946) ### [`v4.2.1`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.2.0...v4.2.1) - Check out other refs/\* by commit if provided, fall back to ref by [@​orhantoy](https://redirect.github.com/orhantoy) in [https://github.com/actions/checkout/pull/1924](https://redirect.github.com/actions/checkout/pull/1924) ### [`v4.2.0`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.7...v4.2.0) - Add Ref and Commit outputs by [@​lucacome](https://redirect.github.com/lucacome) in [https://github.com/actions/checkout/pull/1180](https://redirect.github.com/actions/checkout/pull/1180) - Dependency updates by [@​dependabot-](https://redirect.github.com/dependabot-) [https://github.com/actions/checkout/pull/1777](https://redirect.github.com/actions/checkout/pull/1777), [https://github.com/actions/checkout/pull/1872](https://redirect.github.com/actions/checkout/pull/1872) ### [`v4.1.7`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.6...v4.1.7) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1739](https://redirect.github.com/actions/checkout/pull/1739) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1697](https://redirect.github.com/actions/checkout/pull/1697) - Check out other refs/\* by commit by [@​orhantoy](https://redirect.github.com/orhantoy) in [https://github.com/actions/checkout/pull/1774](https://redirect.github.com/actions/checkout/pull/1774) - Pin actions/checkout's own workflows to a known, good, stable version. by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1776](https://redirect.github.com/actions/checkout/pull/1776) </details> <details> <summary>actions/setup-go (actions/setup-go)</summary> ### [`v5.4.0`](https://redirect.github.com/actions/setup-go/releases/tag/v5.4.0) [Compare Source](https://redirect.github.com/actions/setup-go/compare/v5.3.0...v5.4.0) ##### What's Changed ##### Dependency updates : - Upgrade semver from 7.6.0 to 7.6.3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-go/pull/535](https://redirect.github.com/actions/setup-go/pull/535) - Upgrade eslint-config-prettier from 8.10.0 to 10.0.1 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-go/pull/536](https://redirect.github.com/actions/setup-go/pull/536) - Upgrade [@​action/cache](https://redirect.github.com/action/cache) from 4.0.0 to 4.0.2 by [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) in [https://github.com/actions/setup-go/pull/568](https://redirect.github.com/actions/setup-go/pull/568) - Upgrade undici from 5.28.4 to 5.28.5 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-go/pull/541](https://redirect.github.com/actions/setup-go/pull/541) ##### New Contributors - [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) made their first contribution in [https://github.com/actions/setup-go/pull/568](https://redirect.github.com/actions/setup-go/pull/568) **Full Changelog**: https://github.com/actions/setup-go/compare/v5...v5.4.0 ### [`v5.3.0`](https://redirect.github.com/actions/setup-go/releases/tag/v5.3.0) [Compare Source](https://redirect.github.com/actions/setup-go/compare/v5.2.0...v5.3.0) ##### What's Changed - Use the new cache service: upgrade `@actions/cache` to `^4.0.0` by [@​Link-](https://redirect.github.com/Link-) in [https://github.com/actions/setup-go/pull/531](https://redirect.github.com/actions/setup-go/pull/531) - Configure Dependabot settings by [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) in [https://github.com/actions/setup-go/pull/530](https://redirect.github.com/actions/setup-go/pull/530) - Document update - permission section by [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) in [https://github.com/actions/setup-go/pull/533](https://redirect.github.com/actions/setup-go/pull/533) - Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-go/pull/534](https://redirect.github.com/actions/setup-go/pull/534) ##### New Contributors - [@​Link-](https://redirect.github.com/Link-) made their first contribution in [https://github.com/actions/setup-go/pull/531](https://redirect.github.com/actions/setup-go/pull/531) **Full Changelog**: https://github.com/actions/setup-go/compare/v5...v5.3.0 ### [`v5.2.0`](https://redirect.github.com/actions/setup-go/releases/tag/v5.2.0) [Compare Source](https://redirect.github.com/actions/setup-go/compare/v5.1.0...v5.2.0) ##### What's Changed - Leveraging the raw API to retrieve the version-manifest, as it does not impose a rate limit and hence facilitates unrestricted consumption without the need for a token for Github Enterprise Servers by [@​Shegox](https://redirect.github.com/Shegox) in [https://github.com/actions/setup-go/pull/496](https://redirect.github.com/actions/setup-go/pull/496) ##### New Contributors - [@​Shegox](https://redirect.github.com/Shegox) made their first contribution in [https://github.com/actions/setup-go/pull/496](https://redirect.github.com/actions/setup-go/pull/496) **Full Changelog**: https://github.com/actions/setup-go/compare/v5...v5.2.0 ### [`v5.1.0`](https://redirect.github.com/actions/setup-go/releases/tag/v5.1.0) [Compare Source](https://redirect.github.com/actions/setup-go/compare/v5.0.2...v5.1.0) #### What's Changed - Add workflow file for publishing releases to immutable action package by [@​Jcambass](https://redirect.github.com/Jcambass) in [https://github.com/actions/setup-go/pull/500](https://redirect.github.com/actions/setup-go/pull/500) - Upgrade IA Publish by [@​Jcambass](https://redirect.github.com/Jcambass) in [https://github.com/actions/setup-go/pull/502](https://redirect.github.com/actions/setup-go/pull/502) - Add architecture to cache key by [@​Zxilly](https://redirect.github.com/Zxilly) in [https://github.com/actions/setup-go/pull/493](https://redirect.github.com/actions/setup-go/pull/493) This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts. Note: This change may break previous cache keys as they will no longer be compatible with the new format. - Enhance workflows and Upgrade micromatch Dependency by [@​priyagupta108](https://redirect.github.com/priyagupta108) in [https://github.com/actions/setup-go/pull/510](https://redirect.github.com/actions/setup-go/pull/510) **Bug Fixes** - Revise `isGhes` logic by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/setup-go/pull/511](https://redirect.github.com/actions/setup-go/pull/511) #### New Contributors - [@​Zxilly](https://redirect.github.com/Zxilly) made their first contribution in [https://github.com/actions/setup-go/pull/493](https://redirect.github.com/actions/setup-go/pull/493) - [@​Jcambass](https://redirect.github.com/Jcambass) made their first contribution in [https://github.com/actions/setup-go/pull/500](https://redirect.github.com/actions/setup-go/pull/500) - [@​jww3](https://redirect.github.com/jww3) made their first contribution in [https://github.com/actions/setup-go/pull/511](https://redirect.github.com/actions/setup-go/pull/511) - [@​priyagupta108](https://redirect.github.com/priyagupta108) made their first contribution in [https://github.com/actions/setup-go/pull/510](https://redirect.github.com/actions/setup-go/pull/510) **Full Changelog**: https://github.com/actions/setup-go/compare/v5...v5.1.0 ### [`v5.0.2`](https://redirect.github.com/actions/setup-go/releases/tag/v5.0.2) [Compare Source](https://redirect.github.com/actions/setup-go/compare/v5.0.1...v5.0.2) #### What's Changed ##### Bug fixes: - Fix versions check failure by [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) in [https://github.com/actions/setup-go/pull/479](https://redirect.github.com/actions/setup-go/pull/479) ##### Dependency updates: - Bump braces from 3.0.2 to 3.0.3 and undici from 5.28.3 to 5.28.4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-go/pull/487](https://redirect.github.com/actions/setup-go/pull/487) #### New Contributors - [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) made their first contribution in [https://github.com/actions/setup-go/pull/479](https://redirect.github.com/actions/setup-go/pull/479) **Full Changelog**: https://github.com/actions/setup-go/compare/v5...v5.0.2 </details> <details> <summary>golangci/golangci-lint-action (golangci/golangci-lint-action)</summary> ### [`v6.5.2`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.5.2) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.5.1...v6.5.2) <!-- Release notes generated using configuration in .github/release.yml at v6.5.2 --> #### What's Changed ##### Changes - fix: update max version by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1201](https://redirect.github.com/golangci/golangci-lint-action/pull/1201) ##### Dependencies - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1199](https://redirect.github.com/golangci/golangci-lint-action/pull/1199) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.5.1...v6.5.2 ### [`v6.5.1`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.5.1) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.5.0...v6.5.1) <!-- Release notes generated using configuration in .github/release.yml at v6.5.1 --> #### What's Changed ##### Changes - fix: octokit retry by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1193](https://redirect.github.com/golangci/golangci-lint-action/pull/1193) - feat: restrict action v6 on golangci-lint v1 by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1194](https://redirect.github.com/golangci/golangci-lint-action/pull/1194) ##### Documentation - docs: add notes for annotation config by [@​dveeden](https://redirect.github.com/dveeden) in [https://github.com/golangci/golangci-lint-action/pull/1173](https://redirect.github.com/golangci/golangci-lint-action/pull/1173) - docs: improve verify option explanation by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1175](https://redirect.github.com/golangci/golangci-lint-action/pull/1175) ##### Dependencies - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1177](https://redirect.github.com/golangci/golangci-lint-action/pull/1177) - build(deps): bump the dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1178](https://redirect.github.com/golangci/golangci-lint-action/pull/1178) - build(deps): bump [@​octokit/request](https://redirect.github.com/octokit/request) from 8.4.0 to 8.4.1 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1181](https://redirect.github.com/golangci/golangci-lint-action/pull/1181) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1185](https://redirect.github.com/golangci/golangci-lint-action/pull/1185) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.13.4 to 22.13.5 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1186](https://redirect.github.com/golangci/golangci-lint-action/pull/1186) - build(deps): bump [@​octokit/plugin-paginate-rest](https://redirect.github.com/octokit/plugin-paginate-rest) from 9.2.1 to 9.2.2 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1187](https://redirect.github.com/golangci/golangci-lint-action/pull/1187) - build(deps): bump the dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1189](https://redirect.github.com/golangci/golangci-lint-action/pull/1189) - build(deps-dev): bump the dev-dependencies group across 1 directory with 5 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1190](https://redirect.github.com/golangci/golangci-lint-action/pull/1190) - build(deps-dev): bump eslint-config-prettier from 10.0.2 to 10.1.1 in the dev-dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1191](https://redirect.github.com/golangci/golangci-lint-action/pull/1191) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.13.8 to 22.13.10 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1192](https://redirect.github.com/golangci/golangci-lint-action/pull/1192) #### New Contributors - [@​dveeden](https://redirect.github.com/dveeden) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/1173](https://redirect.github.com/golangci/golangci-lint-action/pull/1173) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.5.0...v6.5.1 ### [`v6.5.0`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.5.0) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.4.1...v6.5.0) <!-- Release notes generated using configuration in .github/release.yml at v6.5.0 --> #### What's Changed ##### Changes - feat: verify with the JSONSchema by default by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1171](https://redirect.github.com/golangci/golangci-lint-action/pull/1171) ##### Dependencies - build(deps): bump [@​octokit/request-error](https://redirect.github.com/octokit/request-error) from 5.1.0 to 5.1.1 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1169](https://redirect.github.com/golangci/golangci-lint-action/pull/1169) - build(deps): bump [@​octokit/endpoint](https://redirect.github.com/octokit/endpoint) from 9.0.5 to 9.0.6 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1170](https://redirect.github.com/golangci/golangci-lint-action/pull/1170) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.4.1...v6.5.0 ### [`v6.4.1`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.4.1) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.4.0...v6.4.1) <!-- Release notes generated using configuration in .github/release.yml at v6.4.1 --> #### What's Changed ##### Changes - fix: use config arg for verify by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1168](https://redirect.github.com/golangci/golangci-lint-action/pull/1168) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.4.0...v6.4.1 ### [`v6.4.0`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.4.0) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.3.3...v6.4.0) <!-- Release notes generated using configuration in .github/release.yml at v6.4.0 --> #### What's Changed ##### Changes - chore: extract patch related code by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1166](https://redirect.github.com/golangci/golangci-lint-action/pull/1166) - feat: add an option to verify with the JSONSchema by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1167](https://redirect.github.com/golangci/golangci-lint-action/pull/1167) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.3.3...v6.4.0 ### [`v6.3.3`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.3.3) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.3.2...v6.3.3) <!-- Release notes generated using configuration in .github/release.yml at v6.3.3 --> #### What's Changed ##### Changes - fix: go.mod parsing by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1165](https://redirect.github.com/golangci/golangci-lint-action/pull/1165) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.3.2...v6.3.3 ### [`v6.3.2`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.3.2) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.3.1...v6.3.2) <!-- Release notes generated using configuration in .github/release.yml at v6.3.2 --> #### What's Changed ##### Changes - fix: path patch by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1162](https://redirect.github.com/golangci/golangci-lint-action/pull/1162) ##### Dependencies - build(deps-dev): bump prettier from 3.4.2 to 3.5.0 in the dev-dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1160](https://redirect.github.com/golangci/golangci-lint-action/pull/1160) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.3.1...v6.3.2 ### [`v6.3.1`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.3.1) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.3.0...v6.3.1) <!-- Release notes generated using configuration in .github/release.yml at v6.3.1 --> #### What's Changed ##### Changes - fix: restrict patched version to v1 by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1158](https://redirect.github.com/golangci/golangci-lint-action/pull/1158) - chore: update golangci-lint versions by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1159](https://redirect.github.com/golangci/golangci-lint-action/pull/1159) ##### Dependencies - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1155](https://redirect.github.com/golangci/golangci-lint-action/pull/1155) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.13.0 to 22.13.1 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1156](https://redirect.github.com/golangci/golangci-lint-action/pull/1156) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.3.0...v6.3.1 ### [`v6.3.0`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.3.0) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.2.0...v6.3.0) <!-- Release notes generated using configuration in .github/release.yml at v6.3.0 --> #### What's Changed ##### Changes - chore: use new assets file by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1154](https://redirect.github.com/golangci/golangci-lint-action/pull/1154) ##### Documentation - docs: update README options version from required to optional by [@​otakakot](https://redirect.github.com/otakakot) in [https://github.com/golangci/golangci-lint-action/pull/1145](https://redirect.github.com/golangci/golangci-lint-action/pull/1145) ##### Dependencies - build(deps-dev): bump the dev-dependencies group with 4 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1146](https://redirect.github.com/golangci/golangci-lint-action/pull/1146) - build(deps): bump the dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1147](https://redirect.github.com/golangci/golangci-lint-action/pull/1147) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1148](https://redirect.github.com/golangci/golangci-lint-action/pull/1148) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.10.7 to 22.10.10 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1149](https://redirect.github.com/golangci/golangci-lint-action/pull/1149) - build(deps): bump undici from 5.28.4 to 5.28.5 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1150](https://redirect.github.com/golangci/golangci-lint-action/pull/1150) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1152](https://redirect.github.com/golangci/golangci-lint-action/pull/1152) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.10.10 to 22.13.0 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1153](https://redirect.github.com/golangci/golangci-lint-action/pull/1153) #### New Contributors - [@​otakakot](https://redirect.github.com/otakakot) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/1145](https://redirect.github.com/golangci/golangci-lint-action/pull/1145) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.2.0...v6.3.0 ### [`v6.2.0`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.2.0) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.1.1...v6.2.0) <!-- Release notes generated using configuration in .github/release.yml at v6.2.0 --> #### What's Changed ##### Changes - chore: use new build tag syntax by [@​alexandear](https://redirect.github.com/alexandear) in [https://github.com/golangci/golangci-lint-action/pull/1133](https://redirect.github.com/golangci/golangci-lint-action/pull/1133) - feat: support linux arm64 public preview by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1144](https://redirect.github.com/golangci/golangci-lint-action/pull/1144) ##### Documentation - docs: update local development instructions by [@​dmitris](https://redirect.github.com/dmitris) in [https://github.com/golangci/golangci-lint-action/pull/1125](https://redirect.github.com/golangci/golangci-lint-action/pull/1125) ##### Dependencies - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1112](https://redirect.github.com/golangci/golangci-lint-action/pull/1112) - build(deps): bump the dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1113](https://redirect.github.com/golangci/golangci-lint-action/pull/1113) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1114](https://redirect.github.com/golangci/golangci-lint-action/pull/1114) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.7.4 to 22.7.5 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1115](https://redirect.github.com/golangci/golangci-lint-action/pull/1115) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1117](https://redirect.github.com/golangci/golangci-lint-action/pull/1117) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.7.5 to 22.7.7 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1118](https://redirect.github.com/golangci/golangci-lint-action/pull/1118) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1119](https://redirect.github.com/golangci/golangci-lint-action/pull/1119) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.7.7 to 22.8.1 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1120](https://redirect.github.com/golangci/golangci-lint-action/pull/1120) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1122](https://redirect.github.com/golangci/golangci-lint-action/pull/1122) - build(deps): bump the dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1123](https://redirect.github.com/golangci/golangci-lint-action/pull/1123) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1126](https://redirect.github.com/golangci/golangci-lint-action/pull/1126) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.8.7 to 22.9.0 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1127](https://redirect.github.com/golangci/golangci-lint-action/pull/1127) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1128](https://redirect.github.com/golangci/golangci-lint-action/pull/1128) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.9.0 to 22.9.3 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1130](https://redirect.github.com/golangci/golangci-lint-action/pull/1130) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.9.3 to 22.10.1 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1131](https://redirect.github.com/golangci/golangci-lint-action/pull/1131) - build(deps-dev): bump the dev-dependencies group across 1 directory with 4 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1132](https://redirect.github.com/golangci/golangci-lint-action/pull/1132) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1134](https://redirect.github.com/golangci/golangci-lint-action/pull/1134) - build(deps): bump [@​actions/cache](https://redirect.github.com/actions/cache) from 3.3.0 to 4.0.0 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1135](https://redirect.github.com/golangci/golangci-lint-action/pull/1135) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1136](https://redirect.github.com/golangci/golangci-lint-action/pull/1136) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.10.1 to 22.10.2 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1137](https://redirect.github.com/golangci/golangci-lint-action/pull/1137) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1138](https://redirect.github.com/golangci/golangci-lint-action/pull/1138) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1139](https://redirect.github.com/golangci/golangci-lint-action/pull/1139) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1141](https://redirect.github.com/golangci/golangci-lint-action/pull/1141) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.10.2 to 22.10.5 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1142](https://redirect.github.com/golangci/golangci-lint-action/pull/1142) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1143](https://redirect.github.com/golangci/golangci-lint-action/pull/1143) #### New Contributors - [@​dmitris](https://redirect.github.com/dmitris) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/1125](https://redirect.github.com/golangci/golangci-lint-action/pull/1125) - [@​alexandear](https://redirect.github.com/alexandear) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/1133](https://redirect.github.com/golangci/golangci-lint-action/pull/1133) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.1.1...v6.2.0 ### [`v6.1.1`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.1.1) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.1.0...v6.1.1) <!-- Release notes generated using configuration in .github/release.yml at v6.1.1 --> #### What's Changed ##### Changes - fix: clean go install output by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1102](https://redirect.github.com/golangci/golangci-lint-action/pull/1102) ##### Documentation - docs: update README.md to use golangci-lint v1.60 by [@​dunglas](https://redirect.github.com/dunglas) in [https://github.com/golangci/golangci-lint-action/pull/1087](https://redirect.github.com/golangci/golangci-lint-action/pull/1087) ##### Dependencies - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1082](https://redirect.github.com/golangci/golangci-lint-action/pull/1082) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.0.0 to 22.1.0 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1083](https://redirect.github.com/golangci/golangci-lint-action/pull/1083) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1084](https://redirect.github.com/golangci/golangci-lint-action/pull/1084) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.1.0 to 22.2.0 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1085](https://redirect.github.com/golangci/golangci-lint-action/pull/1085) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1088](https://redirect.github.com/golangci/golangci-lint-action/pull/1088) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1093](https://redirect.github.com/golangci/golangci-lint-action/pull/1093) - build(deps): bump the dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1089](https://redirect.github.com/golangci/golangci-lint-action/pull/1089) - build(deps): bump the dependencies group across 1 directory with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1096](https://redirect.github.com/golangci/golangci-lint-action/pull/1096) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1097](https://redirect.github.com/golangci/golangci-lint-action/pull/1097) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.5.1 to 22.5.2 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1098](https://redirect.github.com/golangci/golangci-lint-action/pull/1098) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.5.2 to 22.5.4 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1100](https://redirect.github.com/golangci/golangci-lint-action/pull/1100) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1099](https://redirect.github.com/golangci/golangci-lint-action/pull/1099) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1103](https://redirect.github.com/golangci/golangci-lint-action/pull/1103) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.5.4 to 22.5.5 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1104](https://redirect.github.com/golangci/golangci-lint-action/pull/1104) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1105](https://redirect.github.com/golangci/golangci-lint-action/pull/1105) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 22.5.5 to 22.7.4 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1109](https://redirect.github.com/golangci/golangci-lint-action/pull/1109) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1108](https://redirect.github.com/golangci/golangci-lint-action/pull/1108) #### New Contributors - [@​dunglas](https://redirect.github.com/dunglas) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/1087](https://redirect.github.com/golangci/golangci-lint-action/pull/1087) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.1.0...v6.1.1 ### [`v6.1.0`](https://redirect.github.com/golangci/golangci-lint-action/releases/tag/v6.1.0) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v6.0.1...v6.1.0) <!-- Release notes generated using configuration in .github/release.yml at v6.1.0 --> #### What's Changed ##### Changes - feat: allow to skip golangci-lint installation by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1079](https://redirect.github.com/golangci/golangci-lint-action/pull/1079) ##### Documentation - docs: add Go workspace examples by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/1064](https://redirect.github.com/golangci/golangci-lint-action/pull/1064) ##### Dependencies - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.12.8 to 20.12.11 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1041](https://redirect.github.com/golangci/golangci-lint-action/pull/1041) - build(deps-dev): bump [@​typescript-eslint/eslint-plugin](https://redirect.github.com/typescript-eslint/eslint-plugin) from 7.8.0 to 7.9.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1042](https://redirect.github.com/golangci/golangci-lint-action/pull/1042) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.12.11 to 20.12.12 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1043](https://redirect.github.com/golangci/golangci-lint-action/pull/1043) - build(deps-dev): bump [@​typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser) from 7.8.0 to 7.9.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1044](https://redirect.github.com/golangci/golangci-lint-action/pull/1044) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1047](https://redirect.github.com/golangci/golangci-lint-action/pull/1047) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.12.12 to 20.14.0 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1051](https://redirect.github.com/golangci/golangci-lint-action/pull/1051) - build(deps-dev): bump the dev-dependencies group across 1 directory with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1053](https://redirect.github.com/golangci/golangci-lint-action/pull/1053) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1061](https://redirect.github.com/golangci/golangci-lint-action/pull/1061) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.14.0 to 20.14.2 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1062](https://redirect.github.com/golangci/golangci-lint-action/pull/1062) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1063](https://redirect.github.com/golangci/golangci-lint-action/pull/1063) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.14.2 to 20.14.8 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1066](https://redirect.github.com/golangci/golangci-lint-action/pull/1066) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1065](https://redirect.github.com/golangci/golangci-lint-action/pull/1065) - build(deps-dev): bump the dev-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1067](https://redirect.github.com/golangci/golangci-lint-action/pull/1067) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.14.8 to 20.14.9 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1068](https://redirect.github.com/golangci/golangci-lint-action/pull/1068) - build(deps-dev): bump the dev-dependencies group with 4 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1071](https://redirect.github.com/golangci/golangci-lint-action/pull/1071) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.14.9 to 20.14.10 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1072](https://redirect.github.com/golangci/golangci-lint-action/pull/1072) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1073](https://redirect.github.com/golangci/golangci-lint-action/pull/1073) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1074](https://redirect.github.com/golangci/golangci-lint-action/pull/1074) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.14.10 to 20.14.11 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1075](https://redirect.github.com/golangci/golangci-lint-action/pull/1075) - build(deps-dev): bump the dev-dependencies group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1077](https://redirect.github.com/golangci/golangci-lint-action/pull/1077) - build(deps): bump [@​types/node](https://redirect.github.com/types/node) from 20.14.11 to 22.0.0 in the dependencies group by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/golangci/golangci-lint-action/pull/1078](https://redirect.github.com/golangci/golangci-lint-action/pull/1078) **Full Changelog**: https://github.com/golangci/golangci-lint-action/compare/v6.0.1...v6.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com>
93 lines
3.3 KiB
YAML
93 lines
3.3 KiB
YAML
# Copyright 2025 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.
|
|
|
|
name: "docs"
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
# This Workflow depends on 'github.event.number',
|
|
# not compatible with branch or manual triggers.
|
|
on:
|
|
pull_request:
|
|
# Sync with github_actions_preview_fallback.yml on.pull_request.paths-ignore
|
|
paths:
|
|
- 'docs/**'
|
|
- 'github/workflows/docs**'
|
|
- '.hugo'
|
|
|
|
jobs:
|
|
preview:
|
|
runs-on: ubuntu-24.04
|
|
defaults:
|
|
run:
|
|
working-directory: .hugo
|
|
concurrency:
|
|
# Shared concurrency group wih preview cleanup.
|
|
group: "preview-${{ github.event.number }}"
|
|
cancel-in-progress: true
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
with:
|
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
|
|
|
- name: Setup Hugo
|
|
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3
|
|
with:
|
|
hugo-version: "latest"
|
|
extended: true
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
|
|
with:
|
|
node-version: "22"
|
|
|
|
- name: Cache dependencies
|
|
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
|
|
with:
|
|
path: ~/.npm
|
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-node-
|
|
|
|
- run: npm ci
|
|
- run: hugo --minify
|
|
env:
|
|
HUGO_BASEURL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/previews/PR-${{ github.event.number }}/
|
|
HUGO_ENVIRONMENT: preview
|
|
HUGO_RELATIVEURLS: false
|
|
|
|
- name: Deploy
|
|
# If run from a fork, GitHub write operations will fail.
|
|
if: ${{ !github.event.pull_request.head.repo.fork }}
|
|
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: .hugo/public
|
|
destination_dir: ./previews/PR-${{ github.event.number }}
|
|
commit_message: "stage: PR-${{ github.event.number }}: ${{ github.event.head_commit.message }}"
|
|
|
|
- name: Comment
|
|
# If run from a fork, GitHub write operations will fail.
|
|
if: ${{ !github.event.pull_request.head.repo.fork }}
|
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
|
|
with:
|
|
script: |
|
|
github.rest.issues.createComment({
|
|
issue_number: context.payload.number,
|
|
owner: context.repo.owner,
|
|
repo: context.repo.repo,
|
|
body: "🔎 Preview at https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/previews/PR-${{ github.event.number }}/"
|
|
}) |