Skip to content

Commit f531f35

Browse files
Fix Sonar about gh action permissions
1 parent 1e342f4 commit f531f35

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/create-github-release.yaml renamed to .github/workflows/create-github-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Create Github release
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
tags:
@@ -13,6 +10,8 @@ jobs:
1310
run-only-on-main-branch:
1411
name: Verify main branch
1512
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
1615

1716
steps:
1817
- name: Checkout repository
@@ -35,6 +34,8 @@ jobs:
3534
strategy:
3635
matrix:
3736
os: [windows-latest, ubuntu-latest, macos-latest]
37+
permissions:
38+
contents: read
3839

3940
steps:
4041
- name: Checkout repository

0 commit comments

Comments
 (0)