fix: added permissions setting in the workflow (#273)

* fix: added permissions setting in the workflow

* fix: reformat the code of src/tools/retriever.py
This commit is contained in:
Willem Jiang 2025-06-03 11:48:51 +08:00 committed by GitHub
parent 0da52d41a7
commit db3e74629f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -6,6 +6,9 @@ on:
pull_request:
branches: [ '*' ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest

View file

@ -6,6 +6,9 @@ on:
pull_request:
branches: [ '*' ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest