Skip to content

Commit a237060

Browse files
authored
Merge pull request #192 from m13253/alert-autofix-1
Potential fix for code scanning alert no. 1–2: Workflow does not contain permissions
2 parents f303a7f + 8837f7b commit a237060

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/docker.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- 'master'
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
docker:
1114
runs-on: ubuntu-latest

‎.github/workflows/go.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Go build for Linux
22
on: [push, pull_request]
3+
permissions:
4+
contents: read
35
jobs:
46

57
build:

0 commit comments

Comments
 (0)