Skip to content

Commit 465c3a2

Browse files
committed
Fix permission
1 parent 411ce3c commit 465c3a2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@ jobs:
4242
changepacks:
4343
name: changepacks
4444
runs-on: ubuntu-latest
45-
permissions: write-all
45+
permissions:
46+
# create pull request comments
47+
pull-requests: write
48+
49+
# Actions > General > Workflow permissions for creating pull request
50+
# Create brench to create pull request
51+
contents: write
4652
needs:
4753
- test
4854
steps:
@@ -51,8 +57,8 @@ jobs:
5157
id: changepacks
5258
with:
5359
publish: true
54-
env:
55-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
60+
# env:
61+
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
5662
outputs:
5763
changepacks: ${{ steps.changepacks.outputs.changepacks }}
5864
release_assets_urls: ${{ steps.changepacks.outputs.release_assets_urls }}

0 commit comments

Comments
 (0)