diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a19fcee86184..85cb5332626de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,6 +100,10 @@ jobs: with: plan: ${{ needs.plan.outputs.val }} secrets: inherit + permissions: + packages: write + contents: read + # Build and package all the platform-agnostic(ish) things build-global-artifacts: diff --git a/Cargo.toml b/Cargo.toml index c766846c6f0da..7fef22965f4fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -167,3 +167,5 @@ build-local-artifacts = false local-artifacts-jobs = ["./build-binaries", "./build-docker"] # Publish jobs to run in CI publish-jobs = ["./publish-pypi"] +# For: `permissions: packages: write`. +allow-dirty = ["ci"]