Skip to content

Commit cd04ca2

Browse files
authored
Update Swift workflow permissions (#89)
1 parent 634f317 commit cd04ca2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/swift.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
name: Swift
2-
32
on:
43
push:
54
branches: [ main ]
65
pull_request:
76
branches: [ main ]
8-
7+
permissions:
8+
contents: read
99
jobs:
1010
build:
11-
1211
runs-on: macos-latest
13-
1412
steps:
1513
- name: Set Xcode version
1614
uses: maxim-lobanov/setup-xcode@v1

0 commit comments

Comments
 (0)