Skip to content

The agent engineering platform.

Explicitly add the `contents: write` permission for publishing releases. (#9617)

Predrag Gruevskia1e89aa8d552
diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml
index d24bf983a1..5ddf79ca7c 100644
--- a/.github/workflows/_release.yml
+++ b/.github/workflows/_release.yml
@@ -23,6 +23,9 @@ jobs:
# Trusted publishing has to also be configured on PyPI for each package:
# https://docs.pypi.org/trusted-publishers/adding-a-publisher/
id-token: write
+
+ # This permission is needed by `ncipollo/release-action` to create the GitHub release.
+ contents: write
defaults:
run:
working-directory: ${{ inputs.working-directory }}