Skip to content

Update Spec - #6

Closed
pineconemachine wants to merge 1 commit into
mainfrom
0f97f1
Closed

pineconemachine wants to merge 1 commit into
mainfrom
0f97f1

Conversation

@pineconemachine

@pineconemachine pineconemachine commented Jun 8, 2022 •

Copy link
Copy Markdown
Contributor

Update spec from latest proto defintions

@pineconemachine pineconemachine changed the title Update Code Update Spec Jun 10, 2022
@rajat08 rajat08 closed this Jun 10, 2022
@rajat08
rajat08 deleted the 0f97f1 branch June 10, 2022 20:37
jhamon added a commit that referenced this pull request Jul 14, 2026
## Summary
Resolves the three open CodeQL `actions/missing-workflow-permissions`
alerts (#6, #12, #13). Neither workflow declared explicit `permissions`,
so both used the repository-default `GITHUB_TOKEN` scope.

## Changes
- **pr.yml** → `permissions: contents: read` — the `build`,
`integration-test`, and `cleanup` jobs only build/test; they make no
writes via `GITHUB_TOKEN`.
- **build-and-publish-docs.yml** → `permissions: contents: read` — it
publishes Javadoc to the separate `sdk-docs` repo using
`SSH_DEPLOY_KEY`, not `GITHUB_TOKEN`, so it only needs to read this
repo.

## Verification
- YAML parses cleanly (`ruby -ryaml`).
- Token scope now matches actual operations; no behavior change.

Part of PIN-16 (security tail), child of PIN-6.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> CI YAML-only permission tightening with no application or
secret-handling logic changes; risk is mainly if a step later needed
write scope via `GITHUB_TOKEN` (none do today).
> 
> **Overview**
> Adds explicit **`permissions: contents: read`** to **`pr.yml`** and
**`build-and-publish-docs.yml`**, replacing the implicit default
`GITHUB_TOKEN` scope and clearing CodeQL
**`actions/missing-workflow-permissions`** findings.
> 
> **`pr.yml`** — build, integration-test, and cleanup only checkout and
run Gradle; they do not write to the repo via `GITHUB_TOKEN`, so
read-only contents access is sufficient.
> 
> **`build-and-publish-docs.yml`** — Javadoc is pushed to **`sdk-docs`**
with **`SSH_DEPLOY_KEY`**, not `GITHUB_TOKEN`; this workflow only needs
to read the Java client repo. Short comments in each file document that
rationale.
> 
> No job steps or secrets usage change; only the token permission
boundary is tightened.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
0b1c51b. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jhamon added a commit that referenced this pull request Nov 12, 2026
…ies (#44)

* fix(deps): clear open Dependabot alerts (jackson 2.21.7, netty 4.1.137, guava 33.7.2)

Clears the 11 open Dependabot alerts without a breaking change. Existing
POM dependencies change only in version; Guava, which every consumer
already gets through grpc, is now declared directly.

- jackson-databind and jackson-core 2.21.5 -> 2.21.7 (alerts #15-#21).
  Supersedes Dependabot PR #6.
- Netty 4.1.136.Final -> 4.1.137.Final through the existing nettyVersion
  pin (alerts #12-#14). Stays on 4.1.x for grpc-netty 1.60.2.
- Guava 32.0.1-android -> 33.7.2-android (alert #22). Guava comes from
  grpc, and no grpc release ships a patched Guava. A direct
  implementation dependency makes Maven consumers resolve 33.7.2 (nearest
  wins, widened to compile scope by grpc-api). A matching api constraint
  moves Gradle consumers' compile classpath too, which would otherwise
  still see 32.0.1 through grpc.

* no-mistakes(review): Declare Guava 33.7.2 as a single api dependency

* no-mistakes(document): Add CHANGELOG entry for security dependency bumps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants