Commit 576fe90
authored
pass git token with the create draft release with notes job (#377)
## Problem
The release workflow currently fails even with successful deploys due to
the `Create draft release with notes (prod)` job:
https://github.com/pinecone-io/pinecone-ts-client/actions/runs/21552112656/job/62102608939
## Solution
Pass `GH_TOKEN: ${{ github.token }}` in the create draft release notes
step.
## Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
- [X] Infrastructure change (CI configs, etc)
- [ ] Non-code change (docs, etc)
- [ ] None of the above: (explain here)
## Test Plan
N/A
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk CI-only changes; main impact is on GitHub Release creation
permissions plus lockfile metadata churn that should not affect runtime
code.
>
> **Overview**
> Fixes the production release workflow by explicitly providing
`GH_TOKEN: ${{ github.token }}` to the `gh release create` step so draft
releases with generated notes can be created successfully.
>
> Separately updates `.prettierignore` to exclude `package-lock.json`,
and refreshes `package-lock.json` with minor metadata changes (e.g.,
removing `peer` flags on several dev dependencies).
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
6f44acc. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 193d1b3 commit 576fe90
File tree
3 files changed
+4
-8
lines changed- .github/workflows
3 files changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments