Skip to content

Commit 244b923

Browse files
Add necessary permissions for cargo-dist Docker build (#12072)
1 parent a8b48fc commit 244b923

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ jobs:
100100
with:
101101
plan: ${{ needs.plan.outputs.val }}
102102
secrets: inherit
103+
permissions:
104+
packages: write
105+
contents: read
103106

104107
# Build and package all the platform-agnostic(ish) things
105108
build-global-artifacts:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,6 @@ publish-jobs = ["./publish-pypi"]
273273
# Announcement jobs to run in CI
274274
post-announce-jobs = ["./notify-dependents"]
275275
# Skip checking whether the specified configuration files are up to date
276-
#allow-dirty = ["ci"]
276+
allow-dirty = ["ci"]
277277
# Whether to install an updater program
278278
install-updater = false

0 commit comments

Comments
 (0)