Skip to content

Commit

Permalink
workflows: add permissions for all workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Dong Wang <dong.d.wang@intel.com>
  • Loading branch information
kwd-doodling committed Mar 5, 2024
1 parent 21e3064 commit 1c548ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/checkpatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
branches: [ main ]

permissions: read-all

jobs:
checkpatch:
runs-on: ubuntu-22.04
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/iut_zephyr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
schedule:
- cron: '0 20 * * 2,6'

permissions: read-all

jobs:
iut_zephyr_build:
runs-on: ubuntu-22.04
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sedi_docs_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches: [ main ]

permissions: read-all

jobs:
update_sedi_docs:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 1c548ca

Please sign in to comment.