diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5855eed43..ac00b9373 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 7db727cc7..162c15d18 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 c99b58e4b..fceebd0c8 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 0c4f16ba8..e1e43a146 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 2086a07ad..f5b0c7db7 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 72db263f9..4e583c429 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: