Skip to content

Commit 49d82a0

Browse files
committed
Add empty permissions block in Github Actions configs
To restrict all permissions by default (CodeQL warning)
1 parent f367738 commit 49d82a0

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- v*
1111
pull_request:
1212

13+
permissions:
14+
1315
env:
1416
postgis_version: 3
1517
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

.github/workflows/trigger-doc-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
branches:
99
- docs
1010

11+
permissions:
12+
1113
jobs:
1214
build:
1315
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)