diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5855eed43e9..ac00b9373e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: pretty: diff --git a/.github/workflows/otbr.yml b/.github/workflows/otbr.yml index 7db727cc7f3..162c15d186b 100644 --- a/.github/workflows/otbr.yml +++ b/.github/workflows/otbr.yml @@ -40,6 +40,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: backbone-router: diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index c99b58e4b4c..fceebd0c824 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -40,6 +40,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: expects-linux: diff --git a/.github/workflows/simulation-1.1.yml b/.github/workflows/simulation-1.1.yml index 0c4f16ba815..e1e43a146e0 100644 --- a/.github/workflows/simulation-1.1.yml +++ b/.github/workflows/simulation-1.1.yml @@ -40,6 +40,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: distcheck: diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 2086a07ad58..f5b0c7db7ca 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -40,6 +40,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: size-report: diff --git a/.github/workflows/toranj.yml b/.github/workflows/toranj.yml index 72db263f917..4e583c4297f 100644 --- a/.github/workflows/toranj.yml +++ b/.github/workflows/toranj.yml @@ -40,6 +40,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: toranj-ncp: