Skip to content

Commit 1cea91a

Browse files
committed
Fix warning[excessive-permissions]: overly broad permissions
1 parent ed9b825 commit 1cea91a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
pull_request:
88
branches: [main]
99

10+
permissions: {}
11+
1012
jobs:
1113
build_dev_container:
1214
name: Build and test (Dev container)

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515

1616
run-name: "Release: ${{ inputs.container }}${{ inputs.container == 'devcontainer' && ' + wasicontainer' || '' }}"
1717

18+
permissions: {}
19+
1820
jobs:
1921
authorize:
2022
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)