Skip to content

Commit 45df49c

Browse files
authored
Merge pull request #288 from drmohundro/fix/github-action-permissions
fix: add read permissions only for actions
2 parents 7888b7d + 0c7b851 commit 45df49c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: SwiftLint
33
on:
44
[push, pull_request]
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
docker-lint:
811
name: Docker Lint

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Main
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
mac-test:
710
name: Mac Test

0 commit comments

Comments
 (0)