Skip to content

Commit ffecf9c

Browse files
committed
add permissions to GH workflows
1 parent 7d4597a commit ffecf9c

14 files changed

+56
-3
lines changed

.github/workflows/docker_linuxes.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Docker-Linuxes
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

.github/workflows/freebsd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: FreeBSD
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

.github/workflows/mac_debug.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: macOS-Debug
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

.github/workflows/mac_release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: macOS-Release
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

.github/workflows/mac_release_shared.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: macOS-Release-shared
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

.github/workflows/mac_release_static.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: macOS-Release-shared
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

.github/workflows/ubuntu_address_sanitizer.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Ubuntu-AddressSanitizer
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:
@@ -58,9 +62,6 @@ jobs:
5862
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
5963
run: ctest -V --output-on-failure -C ${{env.BUILD_TYPE}}
6064

61-
62-
63-
6465
openexr3:
6566
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
6667
# You can convert this to a matrix build if you need cross-platform coverage.

.github/workflows/ubuntu_debug.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Ubuntu-Debug
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

.github/workflows/ubuntu_no_libtiff.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Ubuntu-No LibTIFF
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

.github/workflows/ubuntu_release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Ubuntu-Release
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths-ignore:

0 commit comments

Comments
 (0)