Repository navigation
Commit 03d3f42
ci: add permissions to publish caller job and upgrade release-please-action to v5 (#49)
## Summary
Fixes Release Please `startup_failure` by adding explicit `permissions`
to the `call-workflow-publish` caller job. Also migrates from archived
`google-github-actions/release-please-action` to
`googleapis/release-please-action` v5.
## Review & Testing Checklist for Human
- [ ] Verify the release-please workflow runs without startup_failure on
next push to main
- [ ] Confirm the migration from google-github-actions to googleapis
doesn't change behavior
### Notes
Same fix pattern as dotnet-core PR #241. The
`google-github-actions/release-please-action` repo is archived;
`googleapis/release-please-action` is the active successor.
Link to Devin session:
https://app.devin.ai/sessions/54e32482848742c19ebf9c374efdc833
Requested by: @kinyoklion
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk CI-only change; it updates the Release Please GitHub Action
and adds explicit job permissions for the reusable publish workflow,
which could affect release automation if misconfigured.
>
> **Overview**
> Updates the Release Please workflow to use the maintained
`googleapis/release-please-action` at v5.
>
> Adds explicit `id-token` and `contents` permissions to the
`call-workflow-publish` reusable-workflow caller job to avoid
permission-related startup failures when publishing after a release is
created.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
22887ce. 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: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 965f456 commit 03d3f42
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
0 commit comments