Skip to content

Commit 8c78e85

Browse files
Potential fix for code scanning alert no. 6: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent b1e49a0 commit 8c78e85

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/book.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
jobs:
77
marimo:
88
runs-on: "ubuntu-latest"
9+
permissions:
10+
contents: read
911
steps:
1012
- name: "Build the virtual environment for ${{ github.repository }}"
1113
uses: cvxgrp/.github/actions/[email protected]
@@ -15,6 +17,8 @@ jobs:
1517

1618
test:
1719
runs-on: "ubuntu-latest"
20+
permissions:
21+
contents: read
1822
steps:
1923
- name: "Build the virtual environment for ${{ github.repository }}"
2024
uses: cvxgrp/.github/actions/[email protected]
@@ -24,6 +28,8 @@ jobs:
2428

2529
jupyter:
2630
runs-on: "ubuntu-latest"
31+
permissions:
32+
contents: read
2733
steps:
2834
- name: "Build the virtual environment for ${{ github.repository }}"
2935
uses: cvxgrp/.github/actions/[email protected]
@@ -32,6 +38,8 @@ jobs:
3238

3339
pdoc:
3440
runs-on: ubuntu-latest
41+
permissions:
42+
contents: read
3543
steps:
3644
- name: "Build the virtual environment for ${{ github.repository }}"
3745
uses: cvxgrp/.github/actions/[email protected]

0 commit comments

Comments
 (0)