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
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