Skip to content

Commit 066d4ee

Browse files
committed
fix(CI): github actions content permission
Signed-off-by: Sridhar G K <gksridhar09@gmail.com>
1 parent 0834788 commit 066d4ee

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
workflow_dispatch:
99
# Allow workflow to be triggered manually.
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
1316
name: build-test (python ${{ matrix.python-version }})
@@ -44,6 +47,8 @@ jobs:
4447
if: "github.ref_name == 'master' && github.event_name != 'pull_request'"
4548
needs: build
4649
runs-on: ubuntu-latest
50+
permissions:
51+
contents: write
4752

4853
steps:
4954
- name: Checkout repository

0 commit comments

Comments
 (0)