Skip to content

Commit 9b44427

Browse files
authored
Merge pull request #17 from DFanso/alert-autofix-1
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
2 parents 0df4723 + 2e1adac commit 9b44427

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
4444
build:
4545
name: Build Go Binary
46+
permissions:
47+
contents: read
4648
runs-on: ${{ matrix.os }}
4749
needs: auto-tag
4850
# Always run build, even if auto-tag was skipped (e.g., for tag pushes)

0 commit comments

Comments
 (0)