From 4547294880dcf23c664dcb9133c946005a4c33fb Mon Sep 17 00:00:00 2001 From: Evan Harvey Date: Mon, 3 Oct 2022 16:59:04 -0600 Subject: [PATCH] .github: Set minimum permissions --- .github/workflows/format.yml | 3 +++ .github/workflows/osx.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 328881b6d7..df1df44ad7 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -6,6 +6,9 @@ on: - master - develop +permissions: + contents: none + jobs: clang-format-check: runs-on: ubuntu-20.04 diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index aa14cace30..07c0cb8d1e 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -10,6 +10,9 @@ on: - 'docs/**' types: [ opened, reopened, synchronize ] +permissions: + contents: none + # Cancels any in progress 'workflow' associated with this PR concurrency: group: ${{ github.workflow }}-${{ github.ref }}