Skip to content

ci: add permissions to caller jobs and upgrade release-please-action to v5#119

Merged
kinyoklion merged 2 commits into
mainfrom
devin/1778774619-fix-release-please-permissions
May 19, 2026
Merged

ci: add permissions to caller jobs and upgrade release-please-action to v5#119
kinyoklion merged 2 commits into
mainfrom
devin/1778774619-fix-release-please-permissions

Conversation

@kinyoklion
Copy link
Copy Markdown
Member

@kinyoklion kinyoklion commented May 14, 2026

Summary

Fixes Release Please startup_failure by adding explicit permissions to the ci and publish caller jobs. Also upgrades release-please-action from v4 to v5.

Review & Testing Checklist for Human

  • Verify the release-please workflow runs without startup_failure on next push to main
  • Confirm publish.yml permissions match what's declared on the caller
  • Verify the ci caller job's contents: read is sufficient for actions/checkout

Notes

Same fix pattern as dotnet-core PR #241. Caller jobs need explicit permissions because the reusable workflows declare permissions that exceed the restricted org defaults. Added contents: read to the ci caller per Bugbot feedback — when permissions is declared, unmentioned permissions default to none.

Link to Devin session: https://app.devin.ai/sessions/54e32482848742c19ebf9c374efdc833
Requested by: @kinyoklion

…to v5

The release-please workflow fails with startup_failure because caller
jobs invoking ci.yml and publish.yml do not declare explicit permissions.
Also upgrades release-please-action from v4 to v5.

Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration devin-ai-integration Bot added the devin-pr PR created by Devin label May 14, 2026
@kinyoklion kinyoklion marked this pull request as ready for review May 14, 2026 23:01
@kinyoklion kinyoklion requested a review from a team as a code owner May 14, 2026 23:01
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default mode and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1daf2ab. Configure here.

Comment thread .github/workflows/release-please.yml
When a permissions block is specified, unmentioned permissions default
to none. The ci.yml reusable workflow needs contents: read for
actions/checkout.

Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com>
@kinyoklion kinyoklion merged commit 49114b2 into main May 19, 2026
4 checks passed
@kinyoklion kinyoklion deleted the devin/1778774619-fix-release-please-permissions branch May 19, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devin-pr PR created by Devin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants