Skip to content

Commit 809c869

Browse files
committed
fix: workflow permissions
1 parent c7005bd commit 809c869

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/deploy.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ jobs:
6363
# we will dispatch another copy of this workflow to deploy the Staging API env; we invoke the workflow
6464
# with an input, so `github.event.inputs.environment` won't be "" and the `if` condition above will be
6565
# false, thus there won't be a recursive loop
66-
uses: canonical/snapcraft.io/.github/workflows/deploy.yaml@main
66+
uses: ./.github/workflows/deploy.yaml
67+
permissions:
68+
contents: read
69+
deployments: write
70+
packages: write
6771
with:
6872
environment: Staging API
6973
secrets:

0 commit comments

Comments
 (0)