Skip to content

Commit 200e0b9

Browse files
committed
Cleaning up some code scanning issues
1 parent 24a8ae2 commit 200e0b9

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/package-quality-control.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
jobs:
1212
# Checks that version number has been updated
1313
package-quality-control:
14+
permissions:
15+
contents: read
1416
runs-on: ubuntu-latest
1517
steps:
1618
- name: Checkout Current PR Branch
@@ -19,7 +21,7 @@ jobs:
1921
uses: actions/setup-python@v5
2022
- name: Check for Changed Files
2123
id: changed-files
22-
uses: tj-actions/changed-files@v44
24+
uses: tj-actions/changed-files@635f118699dd888d737c15018cd30aff2e0274f8
2325
with:
2426
files: |
2527
pyproject.toml

.github/workflows/pyright.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55

66
jobs:
77
pyright:
8+
permissions:
9+
contents: read
810

911
runs-on: ubuntu-latest
1012
steps:
@@ -19,4 +21,4 @@ jobs:
1921
hatch env create dev
2022
- run: echo "$(hatch env find dev)/bin" >> $GITHUB_PATH
2123
- name: Run pyright
22-
uses: jakebailey/pyright-action@v2.3.1
24+
uses: jakebailey/pyright-action@vb5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe

.github/workflows/pytest.yaml

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

99
jobs:
1010
pytest:
11+
permissions:
12+
contents: read
1113

1214
runs-on: ${{ matrix.os }}
1315
strategy:

.github/workflows/ruff.yaml

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

66
jobs:
77
ruff:
8+
permissions:
9+
contents: read
810

911
runs-on: ubuntu-latest
1012
steps:

0 commit comments

Comments
 (0)