mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-05 15:23:03 +08:00
GitHub Workflows security hardening (#6472)
* build: harden action_tools.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com> * build: harden action.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com> * build: harden action_utest.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com> Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
3
.github/workflows/action_tools.yml
vendored
3
.github/workflows/action_tools.yml
vendored
@@ -27,6 +27,9 @@ on:
|
||||
- '**/*.h'
|
||||
- '**/*.cpp'
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user