Skip to content

Commit 2e69da3

Browse files
ci: attempt to fix tests
1 parent cdadcf7 commit 2e69da3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test_full.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
jobs:
1515
test:
1616
runs-on: ubuntu-22.04
17+
permissions:
18+
contents: read
1719
strategy:
1820
matrix:
1921
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
@@ -66,7 +68,7 @@ jobs:
6668
steps:
6769
- uses: actions/checkout@v6
6870
with:
69-
ref: ${{ github.ref }}
71+
ref: ${{ github.sha }}
7072
- name: Debug matrix values
7173
run: |
7274
echo "Python version: ${{ matrix.python-version }}"
@@ -143,10 +145,12 @@ jobs:
143145
144146
codestyle:
145147
runs-on: ubuntu-latest
148+
permissions:
149+
contents: read
146150
steps:
147151
- uses: actions/checkout@v6
148152
with:
149-
ref: ${{ github.head_ref }}
153+
ref: ${{ github.sha }}
150154
- name: Set up Python
151155
uses: actions/setup-python@v6
152156
with:

0 commit comments

Comments
 (0)