Skip to content

Commit fe55b96

Browse files
committed
Add least-privilege permissions to CI workflow
1 parent 3d47be9 commit fe55b96

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Test
22

33
on: [push, pull_request, workflow_call]
44

5+
permissions:
6+
contents: read
57
env:
68
hf-transformers-pip: transformers[sentencepiece]>=3.4.0,<4.32.0
79

0 commit comments

Comments
 (0)