Skip to content

Commit 6c4043d

Browse files
committed
Update dotnet.yml
1 parent d142f3c commit 6c4043d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ on:
2323
jobs:
2424
build:
2525
runs-on: ubuntu-latest
26+
permissions:
27+
contents: read
28+
actions: read
29+
checks: write
2630

2731
steps:
2832
- name: Checkout
@@ -67,6 +71,9 @@ jobs:
6771
runs-on: ubuntu-latest
6872
needs: build
6973
if: success() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
74+
permissions:
75+
contents: read
76+
packages: write
7077

7178
steps:
7279
- name: Download Artifact

0 commit comments

Comments
 (0)