fix(securty): Fix security alert
Code scanning alert: we need to specify permissions on this action.
This commit is contained in:
2
.github/workflows/go-test.yaml
vendored
2
.github/workflows/go-test.yaml
vendored
@@ -13,6 +13,8 @@ on:
|
||||
- "releases/**"
|
||||
jobs:
|
||||
tests:
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
Reference in New Issue
Block a user