Skip to content

Commit 34bacfe

Browse files
Add workflow permissions
1 parent 65f9f0c commit 34bacfe

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/dotnetcore.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
test:
1414
name: Test
1515
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
1618
steps:
1719
# Setup
1820
- name: Checkout Repo
@@ -30,6 +32,8 @@ jobs:
3032
build-linux:
3133
name: Build Linux
3234
runs-on: ubuntu-latest
35+
permissions:
36+
contents: read
3337
steps:
3438
# Setup
3539
- name: Checkout repo
@@ -53,6 +57,8 @@ jobs:
5357
build-windows:
5458
name: Build Windows
5559
runs-on: windows-latest
60+
permissions:
61+
contents: read
5662
steps:
5763
# Setup
5864
- name: Checkout repo

0 commit comments

Comments
 (0)