Skip to content

chore: enable immutable releases#74

Merged
alexeagle merged 2 commits intomainfrom
immutable_release
Apr 1, 2026
Merged

chore: enable immutable releases#74
alexeagle merged 2 commits intomainfrom
immutable_release

Conversation

@alexeagle
Copy link
Copy Markdown
Contributor

No description provided.

@alexeagle alexeagle requested a review from kormide April 1, 2026 17:54
@aspect-workflows
Copy link
Copy Markdown

aspect-workflows Bot commented Apr 1, 2026

Test (Bazel 7.x) (Test)

1 test target passed

Targets
//yq/tests:check_stamped [k8-fastbuild] 52ms

Total test execution time was 52ms. 29 tests (96.7%) were fully cached saving 2s.


Test (Bazel 8.x) (Test)

1 test target passed

Targets
//yq/tests:check_stamped [k8-fastbuild] 115ms

Total test execution time was 115ms. 29 tests (96.7%) were fully cached saving 2s.


Test (Bazel 9.x) (Test)

1 test target passed

Targets
//yq/tests:check_stamped [k8-fastbuild] 109ms

Total test execution time was 109ms. 29 tests (96.7%) were fully cached saving 2s.


Test (Bazel 7.x) (Test)

e2e/smoke

All tests were cache hits

1 test (100.0%) was fully cached saving 104ms.


Test (Bazel 8.x) (Test)

e2e/smoke

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Test (Bazel 9.x) (Test)

e2e/smoke

All tests were cache hits

1 test (100.0%) was fully cached saving 25ms.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 222b0853a8

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +37 to +41
finalize:
needs: publish
runs-on: ubuntu-latest
steps:
- run: gh release edit "$TAG" --draft=false --repo "$GITHUB_REPOSITORY"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add write permissions for release finalization

The new finalize job calls gh release edit ... --draft=false to publish the release, but this job does not request GITHUB_TOKEN write scopes. GitHub’s reusable-workflow docs state that when the calling job does not set jobs.<job_id>.permissions, the called workflow gets default token permissions; with restricted defaults this leaves gh release edit unable to update the release and the workflow ends with the release still in draft state. Please add explicit permissions (at least contents: write) for this job (or for the calling job) so finalization is reliable.

Useful? React with 👍 / 👎.

@alexeagle alexeagle merged commit f29a169 into main Apr 1, 2026
7 checks passed
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