Skip to content

Commit 5e90c91

Browse files
Potential fix for code scanning alert no. 3: Workflow does not contain permissions (#39)
Signed-off-by: Nathaniel Starkman <nstarman@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent d91a995 commit 5e90c91

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
checks:
3838
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
3939
runs-on: ${{ matrix.runs-on }}
40+
permissions:
41+
contents: read
4042
needs: [pre-commit]
4143
strategy:
4244
fail-fast: false

0 commit comments

Comments
 (0)