Skip to content

Commit 2e1adac

Browse files
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 0df4723 commit 2e1adac

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)