Skip to content

Commit 2f8ce05

Browse files
committed
Set read-all permisions in github workflows.
1 parent e8eca90 commit 2f8ce05

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/bandit.yml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ on:
2020
schedule:
2121
- cron: '31 21 * * 6'
2222

23+
permissions: read-all
24+
2325
jobs:
2426
bandit:
2527
permissions:

.github/workflows/precommit.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Precommit
22
on: [push, pull_request]
33

4+
permissions: read-all
5+
46
jobs:
57
Run_UT:
68
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)