Build(deps): Bump google.golang.org/api from 0.290.0 to 0.291.0 - #1227
openshift-merge-bot[bot] merged 1 commit into
Conversation
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.290.0 to 0.291.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.290.0...v0.291.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-version: 0.291.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: dependabot[bot] The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
2 similar comments
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: dependabot[bot] The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: dependabot[bot] The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @dependabot[bot]. Thanks for your PR. I'm waiting for a openshift-online member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
WalkthroughThe pull request updates two indirect dependencies in ChangesGo dependency updates
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5 | ❌ 6❌ Failed checks (6 inconclusive)
✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@go.mod`:
- Line 30: Add release-workflow steps for the uploaded binaries and SHA-256
files to generate or attach CycloneDX SBOMs, create GitHub provenance
attestations, and sign artifacts with Sigstore/cosign. Ensure these protections
cover every published release artifact, not only the hermetic image build, and
publish the resulting attestations, signatures, and SBOMs alongside the existing
uploads.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift-online/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: fd57b176-5485-4965-930c-abd5f74136db
⛔ Files ignored due to path filters (1)
go.sumis excluded by!**/*.sum
📒 Files selected for processing (1)
go.mod
| golang.org/x/term v0.45.0 | ||
| golang.org/x/text v0.40.0 | ||
| google.golang.org/api v0.290.0 | ||
| google.golang.org/api v0.291.0 |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | 🏗️ Heavy lift
🧩 Analysis chain
🏁 Script executed:
#!/usr/bin/env bash
set -euo pipefail
check_module() {
local module="$1"
local version="$2"
[[ "$version" != *-* ]] || {
echo "Pre-release version found: ${module}@${version}" >&2
exit 1
}
go list -m -json "${module}@${version}" |
jq -e --arg version "$version" \
'(.Version == $version) and ((.Retracted // []) | length == 0)' >/dev/null
}
check_osv() {
local module="$1"
local version="$2"
local payload response
payload="$(jq -nc \
--arg name "$module" \
--arg version "$version" \
'{package: {name: $name, ecosystem: "Go"}, version: $version}')"
response="$(
curl -fsS \
-H 'Content-Type: application/json' \
--data "$payload" \
https://api.osv.dev/v1/query
)"
if jq -e '(.vulns // []) | length > 0' <<<"$response" >/dev/null; then
jq -r '.vulns[] | [.id, .summary] | `@tsv`' <<<"$response"
exit 1
fi
}
check_module google.golang.org/api v0.291.0
check_module cloud.google.com/go/auth v0.22.0
check_osv google.golang.org/api v0.291.0
check_osv cloud.google.com/go/auth v0.22.0
go mod verify
grep -Fq 'google.golang.org/api v0.291.0 ' go.sum
grep -Fq 'cloud.google.com/go/auth v0.22.0 ' go.sum
matches="$(rg -n -i \
--glob '*.yml' --glob '*.yaml' --glob '*.json' --glob '*.sh' \
--glob 'Makefile' --glob 'Dockerfile*' \
'sbom|cyclonedx|spdx|provenance|attest|slsa|sigstore|cosign' . || true)"
[[ -n "$matches" ]] || {
echo "No SBOM, provenance, or artifact-signing configuration found." >&2
exit 1
}
printf '%s\n' "$matches"Repository: openshift-online/ocm-cli
Length of output: 250
🏁 Script executed:
#!/usr/bin/env bash
set -euo pipefail
printf '%s\n' '--- dependency declarations ---'
sed -n '24,44p' go.mod
printf '%s\n' '--- SBOM build script ---'
sed -n '55,90p' hack/build_hermetic_image.sh
printf '%s\n' '--- CI and release files ---'
git ls-files | rg '(^|/)(\.github/workflows/|.*(release|publish|build|image).*\.(yml|yaml|sh|mk|Makefile)$)' | head -200
printf '%s\n' '--- supply-chain configuration references ---'
rg -n -i \
'sbom|cyclonedx|spdx|provenance|attest|slsa|sigstore|cosign|sign(ing|ature)?|rekor|in-toto' \
. \
--glob '!vendor/**' \
--glob '!go.sum' \
--glob '!*.md' || trueRepository: openshift-online/ocm-cli
Length of output: 4939
🏁 Script executed:
#!/usr/bin/env bash
set -euo pipefail
for file in .github/workflows/publish-release.yaml hack/build_release_images.sh hack/build_image.sh; do
printf '\n--- %s ---\n' "$file"
sed -n '1,240p' "$file"
doneRepository: openshift-online/ocm-cli
Length of output: 7874
Add provenance attestations and artifact signing to the release workflow.
The release workflow uploads binaries and SHA-256 files without an SBOM, provenance attestations, or Sigstore/cosign signatures. The CycloneDX SBOM is generated only by the hermetic image build.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@go.mod` at line 30, Add release-workflow steps for the uploaded binaries and
SHA-256 files to generate or attach CycloneDX SBOMs, create GitHub provenance
attestations, and sign artifacts with Sigstore/cosign. Ensure these protections
cover every published release artifact, not only the hermetic image build, and
publish the resulting attestations, signatures, and SBOMs alongside the existing
uploads.
Sources: Path instructions, MCP tools
Bumps google.golang.org/api from 0.290.0 to 0.291.0.
Release notes
Sourced from google.golang.org/api's releases.
Changelog
Sourced from google.golang.org/api's changelog.
Commits
ed60cb7chore(main): release 0.291.0 (#3669)90fe3d7revert change to TestNewClient (#3680)499d9b1feat(all): auto-regenerate discovery clients (#3679)452691cchore(all): update all (#3677)b5c5526feat(all): auto-regenerate discovery clients (#3678)9998a11feat(all): auto-regenerate discovery clients (#3676)432658cfeat(all): auto-regenerate discovery clients (#3674)4067374feat(all): auto-regenerate discovery clients (#3670)6bad358fix(transport): use ds.GetUniverseDomain() instead of raw ds.UniverseDomain f...e3721bafeat(all): auto-regenerate discovery clients (#3666)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by CodeRabbit