Skip to content

Commit ffa8ef0

Browse files
fix: add permissions to GitHub workflow
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 27fb4d4 commit ffa8ef0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/go.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
name: "Go build"
11+
permissions:
12+
contents: read
1113
runs-on: ubuntu-latest
1214
steps:
1315
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)