Skip to content

Commit 6828d77

Browse files
committed
Update permissions in workflow
1 parent a3b9b9f commit 6828d77

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
permissions:
12-
contents: read
12+
contents: write
1313
packages: write
1414

1515
steps:
1616
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0 # needed to create/push tags
19+
persist-credentials: true
1720

1821
- name: Set up QEMU
1922
uses: docker/setup-qemu-action@v3

0 commit comments

Comments
 (0)