ci: harden permission for freebsd.yml

set it to read only

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
This commit is contained in:
Carl Zhang 2024-03-05 02:44:00 -05:00 committed by Zhang, Xinfeng
parent f484f4f778
commit ff5630b151
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ on:
- '.github/workflows/**' - '.github/workflows/**'
- '!.github/workflows/freebsd.yml' - '!.github/workflows/freebsd.yml'
permissions: read
jobs: jobs:
freebsd: freebsd:
runs-on: ubuntu-latest runs-on: ubuntu-latest